Get metrics data

Lists metrics specified in the type object, between the given start and end times, sampled at the given rate and attached to given contract. Responses only contain data for valid requests. More meaningful errors result when requesting data for only one type at a time.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params

Encapsulates the target contract and time constraints for the specified metrics.

string
required

The policy name of the data center or proxy that reported the metrics.

integer
required

The end time of the requested metric in UNIX epoch seconds (UTC), with a maximum range of 90 days between start and end.

integer
required

The number of data points to return.

integer
required

The start time of the requested metric in UNIX epoch seconds (UTC), with a maximum range of 90 days between start and end.

type
object
required

Defines the types of requested metrics.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json