latestOpenAPI 3.0.02026-07-13105112106.9 KB

b2a22a9b5c98

Metrics

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

get/v1/accounts/{accountSid}/metrics/trafficPunchcard

Path parameters

accountSidstring required

accountSid

accountSid

Query parameters

startTimestring required

The start date/time for the data that should be returned.

Example:1970-01-01T00:00:00.000Z

The start date/time for the data that should be returned.

endTimestring required

The end date/time for the data that should be returned.

Example:1970-01-01T00:00:00.000Z

The end date/time for the data that should be returned.

environmentSidstring required

Sid of the environment

Sid of the environment

bucketSidstring

A BucketSid to filter the data by.

A BucketSid to filter the data by.

apiSidstring

An ApiSid to filter the data by.

An ApiSid to filter the data by.

pathSidstring

A PathSid to filter the data by.

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.

The resolution that the data should be grouped and returned in.

Response

Successful

string required