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

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

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

## 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.

## Response `200`

The data structure that each of the metrics will be reported back with.

- MetricsSummary — The data structure that each of the metrics will be reported back with.
  - `requests` Requests, required — The request metrics for the given period.
    - `current` MetricDetail — Actual value for the metric at the given point in time.
      - `amount` number, nullable, required — The current value of the metric.
      - `units` 'requests' | 'milliseconds', required — The unit of the metric.
    - `previous` MetricDetail — Actual value for the metric at the given point in time.
      - `amount` number, nullable, required — The current value of the metric.
      - `units` 'requests' | 'milliseconds', required — The unit of the metric.
    - `change` MetricDetailChange — The amount of change in the value of the metric as compared to the previous period of time.
      - `amount` number, nullable, required — The amount of change for the same metric over the previous period.
      - `units` 'percent' | 'milliseconds', required — The unit of change.
  - `responseTime` ResponseTime, required — The response time metric for the given period.
    - `current` MetricDetail — Actual value for the metric at the given point in time.
      - `amount` number, nullable, required — The current value of the metric.
      - `units` 'requests' | 'milliseconds', required — The unit of the metric.
    - `previous` MetricDetail — Actual value for the metric at the given point in time.
      - `amount` number, nullable, required — The current value of the metric.
      - `units` 'requests' | 'milliseconds', required — The unit of the metric.
    - `change` MetricDetailChange — The amount of change in the value of the metric as compared to the previous period of time.
      - `amount` number, nullable, required — The amount of change for the same metric over the previous period.
      - `units` 'percent' | 'milliseconds', required — The unit of change.
  - `errors` Errors, required — The error metric for the given period.
    - `current` MetricDetail — Actual value for the metric at the given point in time.
      - `amount` number, nullable, required — The current value of the metric.
      - `units` 'requests' | 'milliseconds', required — The unit of the metric.
    - `previous` MetricDetail — Actual value for the metric at the given point in time.
      - `amount` number, nullable, required — The current value of the metric.
      - `units` 'requests' | 'milliseconds', required — The unit of the metric.
    - `change` MetricDetailChange — The amount of change in the value of the metric as compared to the previous period of time.
      - `amount` number, nullable, required — The amount of change for the same metric over the previous period.
      - `units` 'percent' | 'milliseconds', required — The unit of change.
  - `blocked` Blocked, required — The requests blocked metric for the given period.
    - `current` MetricDetail — Actual value for the metric at the given point in time.
      - `amount` number, nullable, required — The current value of the metric.
      - `units` 'requests' | 'milliseconds', required — The unit of the metric.
    - `previous` MetricDetail — Actual value for the metric at the given point in time.
      - `amount` number, nullable, required — The current value of the metric.
      - `units` 'requests' | 'milliseconds', required — The unit of the metric.
    - `change` MetricDetailChange — The amount of change in the value of the metric as compared to the previous period of time.
      - `amount` number, nullable, required — The amount of change for the same metric over the previous period.
      - `units` 'percent' | 'milliseconds', required — The unit of change.

## Other responses

- `400` — Bad Request

---

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