Observer
API

POST /metrics/{id}/status

Set status on a manually-managed metric

Request body#

{
  "status": "healthy",
  "note": null
}

Example request#

curl -X POST "/api/v1/metrics/{id}/status" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"status\":\"healthy\",\"note\":null}"

Responses#

200: ok#

401: missing or invalid bearer token#

403: missing required scope#

404: not found (or cross-tenant: same response)#

409: metric is probed (not manual)#

429: rate limit exceeded#

Was this page helpful?