Skip to main content
POST
Set status on a manually-managed metric

Authorizations

Authorization
string
header
required

An organization API key (obs_pub_…) sent as Authorization: Bearer <key>. Each key carries scopes; an endpoint lists the scope it needs. read:change_events is reserved: keys can carry it, but no endpoint needs it yet.

Scopes

write:metrics

Path Parameters

id
string<uuid>
required

Metric id.

Body

application/json
status
enum<string>
required
Available options:
healthy,
degraded,
unhealthy,
no_data
note
string | null

Response

ok

metric_id
string<uuid>