Incidents
Read, open, update, close, reopen and merge incidents, with notes, checkpoints and statuses.
Stazus opens incidents automatically when checks fail, and you can open them by hand. Each route needs its own permission (incidents.read, incidents.create, incidents.close, …), shown in the tables below.
The incident object
{
"id": "42",
"project_id": "301",
"title": "Checkout API is down",
"description": "",
"incident_type": "availability",
"impact": "outage",
"severity": "critical",
"source": "automatic",
"auto_resolve": true,
"detection_reason": "2 of 2 regions failing",
"status": { "id": "5", "name": "Investigating", "kind": "open" },
"error_count": 3,
"first_error_at": "2026-11-08T08:05:00.000Z",
"last_error_at": "2026-11-08T08:07:00.000Z",
"resolved_at": null,
"merged_into_incident_id": null,
"metadata": { "failing_probes": 2, "reduced_quorum": false },
"checks": [
{ "check_id": "501", "check_name": "Checkout API", "check_type": "http", "role": "trigger",
"reduced_quorum": false, "added_at": "2026-11-08T08:05:00.000Z" }
],
"created_at": "2026-11-08T08:05:00.000Z",
"updated_at": "2026-11-08T08:07:00.000Z"
}impactis what's happening now:degraded(some regions failing) oroutage. Latency incidents are alwaysdegraded.severityis the worst it reached,warningorcritical; it never drops on its own.status.kinddecides resolution: aresolved-kind status resolves the incident and setsresolved_at.checksare the checks it covers.check_idisnullonce a check is deleted; its name stays.reduced_quorummeans the outage was confirmed while some of Stazus's regions weren't reporting.auto_resolve: automatic incidents resolve themselves once every check they cover recovers. Manual incidents are resolved by hand.
Routes
| Route | Permission | Body → response |
|---|---|---|
GET /incidents | incidents.read | Filters state (open, resolved, all), project_id, check_id, source. Newest first. |
GET /incidents/{incident_id} | incidents.read | The incident plus comments, checkpoints, evidence and merged_incidents. |
POST /incidents | incidents.create | {title, description?, project_id?, check_ids?, incident_type?, impact?, severity?, status_id?} → 201 |
PATCH /incidents/{incident_id} | incidents.update | {title?, description?, project_id?, severity?, impact?, check_ids?} |
PATCH /incidents/{incident_id}/status | incidents.change_status | {status_id}, open statuses only |
POST /incidents/{incident_id}/close | incidents.close | {status_id?, message?} |
POST /incidents/{incident_id}/reopen | incidents.reopen | {status_id?, message?} |
POST /incidents/{incident_id}/merge | incidents.merge | {source_incident_ids: ["41"]} |
POST /incidents/{incident_id}/comments | incidents.comment | {body} → 201 |
PATCH /incidents/{incident_id}/comments/{comment_id} | incidents.manage_comments | {pinned} |
DELETE /incidents/{incident_id}/comments/{comment_id} | incidents.manage_comments | 204 |
POST /incidents/{incident_id}/checkpoints | incidents.manage_checkpoints | {title, body?, status_label?} → 201 |
PATCH /incidents/{incident_id}/checkpoints/{checkpoint_id} | incidents.manage_checkpoints | {status_label?, title?, body?} |
Every write needs an Idempotency-Key header.
Open an incident by hand
POST /api/public/v3/incidents
Idempotency-Key: incident-examplepay-20261108
Content-Type: application/json{
"title": "Payment provider errors",
"description": "ExamplePay is returning elevated errors.",
"project_id": "301",
"check_ids": ["501"],
"impact": "degraded",
"severity": "critical"
}incident_type defaults to availability and status_id to the team's default open status. The response is 201 with the incident's detail.
Edit an incident
check_ids lists every check the incident should cover. The checks that triggered it always stay (422 trigger_required). An automatic incident's impact is set by monitoring (422 automatic_incident), and incident_type never changes.
Change status, close and reopen
PATCH …/statusmoves an open incident between open statuses. A resolved status there is422 use_close_route.POST …/closeresolves it, using the team's default resolved status unless you name one. If its checks are still failing, no new incident opens for them until they recover and fail again. Closing a resolved incident is409 already_resolved.POST …/reopenreturns it to an open status and takes back the checks that are still failing, so it resolves itself when they recover. Reopening an open incident is409 not_resolved.- A
messageon either becomes a checkpoint, the incident's public update.
Merge incidents
POST /incidents/{target}/merge with up to 20 source_incident_ids of the same incident_type. Each source is resolved, keeps merged_into_incident_id pointing at the target, and its checks and error counts move to the target, which stays open until every check it covers recovers. The target must be open; a source already merged is 422 already_merged.
Evidence
The detail's evidence holds one entry per distinct failure per region, copied from the result when it happened, with the failure streak it opened (occurrence_count, started_at, last_seen_at, ended_at, end_reason), so repeats show as a count and duration. Only end_reason: recovered means the failure went away; the others mean monitoring changed.
Statuses
| Route | Permission | Notes |
|---|---|---|
GET /incident-statuses | incident_statuses.read | {items: [{id, name, kind, is_default, …}]} |
POST /incident-statuses | incident_statuses.create | {name, kind?} (open by default; at most 50 per team) |
PATCH /incident-statuses/{status_id} | incident_statuses.update | {name}. kind can't change. |
DELETE /incident-statuses/{status_id} | incident_statuses.delete | Not a default (409 default_status), not in use (409 status_in_use). |
Each team has one default status of each kind.
Last updated on