---
title: "Returns the request throughput information for an account, can be further filtered."
method: GET
path: "/v1/accounts/{accountSid}/metrics/responseTime"
tags: ["Metrics"]
---

# Returns the request throughput information for an account, can be further filtered.

`GET /v1/accounts/{accountSid}/metrics/responseTime`

## Request

- Base URL: `https://api.apitraffic.io`
- URL: `https://api.apitraffic.io/v1/accounts/{accountSid}/metrics/responseTime`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/docs/v1/accounts/:accountSid/metrics/responseTime/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountSid` string, required: accountSid

## Query parameters

- `startTime` string, required: The start date/time for the data that should be returned.
- `endTime` string, required: The end date/time for the data that should be returned.
- `environmentSid` string, required: Sid of the environment
- `bucketSid` string: A BucketSid to filter the data by.
- `apiSid` string: An ApiSid to filter the data by.
- `pathSid` string: A PathSid to filter the data by.
- `resolution` '1min' | '10min' | '1hr' | '2hr' | '1d' | '1mo': The resolution that the data should be grouped and returned in.

## Response `200`

The data structure that throuput data be reported back with.

- ResponseTimeResponse: The data structure that throuput data be reported back with.
  - `summary` ThroughputDetail, required
    - `startTime` string, required: The start date/time for the period.
    - `endTime` string, required: The end date/time for the period.
    - `requests` number, required: Returning metric as requests per second (rps) or requests per minute (rpm)
    - `maximum` number, required: Returning metric as requests per second (rps) or requests per minute (rpm)
    - `minimum` number, required: Returning metric as requests per second (rps) or requests per minute (rpm)
    - `average` number, required: Returning metric as requests per second (rps) or requests per minute (rpm)
    - `percentiles` ThroughputMetrics: The data structure that throuput data be reported back with.
      - `50` ThroughputPeriod: Metrics for requests in the 200 HTTP status code range.
        - `value` number, required: The actual metric value.
        - `maximum` number: This will only be returned when within the summary object.
        - `minimum` number: This will only be returned when within the summary object.
        - `median` number: This will only be returned when within the summary object.
      - `95` Model1: Metrics for requests in the 300 HTTP status code range.
        - `value` number, required: The actual metric value.
        - `maximum` number: This will only be returned when within the summary object.
        - `minimum` number: This will only be returned when within the summary object.
        - `median` number: This will only be returned when within the summary object.
      - `99` Model2: Metrics for requests in the 400 HTTP status code range.
        - `value` number, required: The actual metric value.
        - `maximum` number: This will only be returned when within the summary object.
        - `minimum` number: This will only be returned when within the summary object.
        - `median` number: This will only be returned when within the summary object.
  - `periods` ThroughputDetail[], required
    - `startTime` string, required: The start date/time for the period.
    - `endTime` string, required: The end date/time for the period.
    - `requests` number, required: Returning metric as requests per second (rps) or requests per minute (rpm)
    - `maximum` number, required: Returning metric as requests per second (rps) or requests per minute (rpm)
    - `minimum` number, required: Returning metric as requests per second (rps) or requests per minute (rpm)
    - `average` number, required: Returning metric as requests per second (rps) or requests per minute (rpm)
    - `percentiles` ThroughputMetrics: The data structure that throuput data be reported back with.
      - `50` ThroughputPeriod: Metrics for requests in the 200 HTTP status code range.
        - `value` number, required: The actual metric value.
        - `maximum` number: This will only be returned when within the summary object.
        - `minimum` number: This will only be returned when within the summary object.
        - `median` number: This will only be returned when within the summary object.
      - `95` Model1: Metrics for requests in the 300 HTTP status code range.
        - `value` number, required: The actual metric value.
        - `maximum` number: This will only be returned when within the summary object.
        - `minimum` number: This will only be returned when within the summary object.
        - `median` number: This will only be returned when within the summary object.
      - `99` Model2: Metrics for requests in the 400 HTTP status code range.
        - `value` number, required: The actual metric value.
        - `maximum` number: This will only be returned when within the summary object.
        - `minimum` number: This will only be returned when within the summary object.
        - `median` number: This will only be returned when within the summary object.

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation.md) - [All operations](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/revisions/b2a22a9b5c98?raw)
