Get metrics
GET/assets/:assetId/metrics
The metrics endpoint allows you to retrieve metrics as they were ingested. It provides a way to access historical metric data for analysis, debugging, or offline processing.
To use the metrics endpoint, you construct a request URL with parameters such as the time range and metric filters. The system retrieves the relevant metrics from its database and returns them in JSON format.
Additionally, if the Accept-Encoding header in your request is set to gzip, the response will be compressed using gzip encoding. This allows you to reduce the response time and size for efficient data transfer.
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
- 504
Success. Media type: application/jsonl
Error when parameters are missing or incorrect
Access token is missing or invalid
User is not allowed to make this request
Rate limit exceeded
A server error has occurred
Upstream request timeout