Query metrics

Returns historical metrics as JSON, or a Server-Sent Events stream when live is true.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
metrics
array of strings
required

Friendly metric names supported by the public API

metrics*
string
required
string

Relative time string, or absolute datetime in YYYY-MM-DDTHH:MM:SS / YYYY-MM-DD HH:MM:SS format

string

Relative time string, or absolute datetime in YYYY-MM-DDTHH:MM:SS / YYYY-MM-DD HH:MM:SS format

string
enum
Allowed:
string
enum
Allowed:
boolean

When true, respond with Server-Sent Events instead of JSON

string
filter
object
Headers
string

Service account API key issued by Spaces Access Management. Omit it to reproduce the 401 example.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json