Observer
API

GET /metrics/{id}

Get metric by id

Parameters#

NameInRequiredTypeDescription
idpathyesstring

Example request#

curl -X GET "/api/v1/metrics/{id}" \
  -H "Authorization: Bearer YOUR_API_KEY"

Responses#

200: ok#

{
  "id": "string",
  "title": "string",
  "description": "string",
  "query": "string",
  "created_at": "2026-01-01T00:00:00.000Z",
  "current_status": null,
  "current_value": null,
  "current_timestamp": null
}

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?