---
title: "Average Response Time"
method: GET
path: "/applications/{id}/metrics/response-time"
tags: ["Application Metrics"]
---

# Average Response Time

`GET /applications/{id}/metrics/response-time`

Average request response time. If "percent" is set, the P50 or P95 response time will be returned.

## Path parameters

- `id` string, required

## Query parameters

- `interval_in_seconds` integer, required
- `timeframe_start` string, date-time, required
- `timeframe_end` string, date-time, required
- `percent` 50 | 95 — The percentile of slowest requests to return (e.g. 95 means we return the average of the 5% slowest requests)

## Response `200`

Successfully retrieved application average response time.

- GetApplicationResponseTimeResponseSchema
  - `app` object, required
    - `id` string, required
    - `display_name` string, required
    - `metrics` object, required
      - `timeframe` object, required
        - `start` string, required
        - `end` string, required
      - `response_time` object[], required
        - `time` string, required
        - `value` string, required

## Other responses

- `400` — One or more of the required parameters were not provided to the request
- `401` — No or invalid API key provided to the request
- `404` — No application or database found with the provided unique ID.
- `500` — Error occurred while retrieving application average response time

---

[API](https://skmtc.net/sevalla/apis/sevalla-api.md) · [All operations](https://skmtc.net/sevalla/apis/sevalla-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevalla/sevalla-api/revisions/ab648a80ca4d/schema)
