Get metrics records

Get most recently submitted telemetry records for a given stream.

Note: Recently submitted records can take several minutes to be available through this endpoint.

Path Params
string
required

A unique name to identify this unit metric.

Query Params
integer
1 to 1000
Defaults to 1000

The numbers of items to return.

Headers
string
required

Your CloudZero API Key. Note: This is not a bearer token, and should appear in the header as Authorization: <cloudzero-api-key>

Responses
200

Telemetry records

403

Not authorized, make sure you're using a valid API key in the header Authorization

429

Rate limit exceeded. The API enforces rate limiting on incoming requests. Retry after a short delay.

503

Service temporarily unavailable due to downstream capacity constraints. Retry after a short delay with exponential backoff.

Language
Response
Click Try It! to start a request and see the response here!