Get heartbeat state
Returns the heartbeat’s schedule, evaluator state and last 20 pings, newest first. ping_url is included only when the key also holds write:metrics or write:config. 404 for metrics that are not heartbeats.
Authorizations
An organization API key (obs_pub_…) sent as Authorization: Bearer <key>. Each key carries scopes; an endpoint lists the scope it needs.
Path Parameters
Metric id.
Response
ok
Evaluator phase. waiting = no ping received yet (no status is written).
waiting, up, running, late, failed, runtime_exceeded healthy, degraded, unhealthy, null When the check goes late without a success ping.
success, start, fail, null The check's ping URL. Present only for keys with write:metrics or write:config (a config writer creates heartbeat checks and needs the URL to wire up the job): anyone holding it can record pings.

