Stazus docs
Stazus docs

Introduction

Stazus documentationGet startedConcepts

Planned features

Feature availabilityStatus pages

Monitoring

MonitorsChecks and resultsLatency alertingMaintenance windows

Incident response

IncidentsNotificationsTeams and access

Developer API

Developer APIAuthenticationProjects and checksAnalyticsIncidentsMaintenanceNotificationsMCPErrors and limitsMigrate to v3

Account and help

Account and security

Help

Support

Updates

Changelog
Changelog launchedDocumentation UpdatesDeveloper API v2Scope-aware maintenance windows
Developer API

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"
}
  • impact is what's happening now: degraded (some regions failing) or outage. Latency incidents are always degraded.
  • severity is the worst it reached, warning or critical; it never drops on its own.
  • status.kind decides resolution: a resolved-kind status resolves the incident and sets resolved_at.
  • checks are the checks it covers. check_id is null once a check is deleted; its name stays. reduced_quorum means 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

RoutePermissionBody → response
GET /incidentsincidents.readFilters state (open, resolved, all), project_id, check_id, source. Newest first.
GET /incidents/{incident_id}incidents.readThe incident plus comments, checkpoints, evidence and merged_incidents.
POST /incidentsincidents.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}/statusincidents.change_status{status_id}, open statuses only
POST /incidents/{incident_id}/closeincidents.close{status_id?, message?}
POST /incidents/{incident_id}/reopenincidents.reopen{status_id?, message?}
POST /incidents/{incident_id}/mergeincidents.merge{source_incident_ids: ["41"]}
POST /incidents/{incident_id}/commentsincidents.comment{body} → 201
PATCH /incidents/{incident_id}/comments/{comment_id}incidents.manage_comments{pinned}
DELETE /incidents/{incident_id}/comments/{comment_id}incidents.manage_comments204
POST /incidents/{incident_id}/checkpointsincidents.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 …/status moves an open incident between open statuses. A resolved status there is 422 use_close_route.
  • POST …/close resolves 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 is 409 already_resolved.
  • POST …/reopen returns 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 is 409 not_resolved.
  • A message on 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

RoutePermissionNotes
GET /incident-statusesincident_statuses.read{items: [{id, name, kind, is_default, …}]}
POST /incident-statusesincident_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.deleteNot a default (409 default_status), not in use (409 status_in_use).

Each team has one default status of each kind.

Last updated on

Analytics

Time-based uptime, run statistics, and your plan's usage and limits.

Maintenance

Schedule maintenance windows that recur in your own time zone.

On this page

The incident objectRoutesOpen an incident by handEdit an incidentChange status, close and reopenMerge incidentsEvidenceStatuses