Incident resources
GET /api/v1/incidents / MCP list_incidents: requires incidents:read.
| Query | Accepted / default |
|---|---|
days |
Seven or 30; default 30 |
check_id |
Optional owned check ID |
state |
Optional open or resolved |
limit, cursor |
Standard bounded pagination |
Lists incidents overlapping the recent rolling window, including episodes
that began earlier but remain open or resolved within it. This differs from
daily history’s incident-start counts. Incidents come newest first; pass
next_cursor back as cursor for the next, older page.
GET /api/v1/incidents/:id / get_incident: requires incidents:read
and the incident ID. The ID must belong to a check in the bound account.
Both use this incident resource:
{ "id": "123", "check_id": "check_EXAMPLE", "check_name": "Public website", "cause": "HTTP 503", "started_at": "2026-01-01T12:00:00Z", "resolved_at": null, "resolved": false, "duration_seconds": 120}Duration ends at recovery for resolved incidents and at the read time for
ongoing incidents; it is a nonnegative number, not necessarily an integer.
resolved_at is null for an open incident.
cause says what failed, such as an HTTP status, a missed heartbeat or how
many locations checked in. It’s null when none was recorded. check_name is
the check’s current name.
Notes, status updates and notification details aren’t included. For those, use the signed-in incident view.
Post a status update
Section titled “Post a status update”POST /api/v1/incidents/:id/updates / MCP create_incident_update
requires incidents:update, which needs the Manage incident updates capability
(Editor or Admin).
{ "body": "We are rolling back the deploy." }body is required, up to 10,000 characters, and can’t be only whitespace.
The update is posted as the API key’s or connection’s user, appears on the
incident like one posted in the app, and sends an
incident.updated event. The 201 response:
{ "id": "iupd_EXAMPLE", "incident_id": "123", "body": "We are rolling back the deploy.", "author_name": "Example User", "created_at": "2026-01-01T12:05:00Z"}When the incident’s check is on a public dashboard that shows incident history, the update appears on that status page right away. Each call adds a new update; they can’t be edited or deleted through the API.
There are no API operations to open, edit, resolve or delete incidents.