GET /metrics/{id}/history
Aggregated metric values over a window (max 30 days)
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
id | path | yes | string | |
from | query | yes | string | |
to | query | no | string | |
resolution | query | no | string |
Example request
curl -X GET "https://api.use.observer/api/v1/metrics/{id}/history" \
-H "Authorization: Bearer YOUR_API_KEY"
Responses
200 — ok
null
400 — invalid range / resolution
401 — missing or invalid bearer token
403 — missing required scope
404 — not found (or cross-tenant — same response)
429 — rate limit exceeded
Was this page helpful?