Incidents
Problems that affect customers, worked on by the team: declare one, post updates as you learn more, assign a commander and a communications lead, resolve it and write the postmortem. Changes show in the incident's Slack channel and timeline, named after the API token that made them. Publish to status pages with publishIncidentStatusPageUpdate.
List incidents
Returns the team's incidents, most recently started first unless you sort.
query Parameters
pagePage number, from 1.
per_pageIncidents per page, 1 to 100.
filter[status]Only incidents with this status.
Where an incident stands.
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
filter[severity]Only incidents of this severity.
How urgent an alert or incident is. Escalation paths can branch on it.
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
filter[title]Case-insensitive text in the title.
sortSort by started_at, created_at, severity, status or title. Prefix - for descending. Default -started_at.
List incidents › Responses
Paginated set of Incident
current_pagefirst_page_urlfromlast_page_urllast_pageGenerated paginator links.
next_page_urlpathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
prev_page_urltoNumber of the last item in the slice.
totalTotal number of items being paginated.
Declare an incident
It starts investigating. With Slack connected it's announced there like an incident
declared in the dashboard, with its own channel when the Slack settings say so.
Declare an incident › Request Body
titleWhat's going on, up to 255 characters
severityHow bad it is
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
summaryMore about it, in Markdown
Declare an incident › Responses
The new incident.
idIncident ID
numberThe team's sequence number: INC-42 is 42. null for some older incidents
referenceThe human reference
titleWhat's going on
summaryMore about it, in Markdown
severityHow bad it is
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
statusWhere it stands
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
started_atWhen it started
acknowledged_atWhen someone acknowledged it
resolved_atWhen it was resolved
alert_idThe alert that opened it, for incidents declared by an escalation path
Who has which role
created_atWhen it was declared
Get an incident
Returns the incident with its roles and the alert that opened it.
path Parameters
incidentIncident ID.
Get an incident › Responses
The incident.
idIncident ID
numberThe team's sequence number: INC-42 is 42. null for some older incidents
referenceThe human reference
titleWhat's going on
summaryMore about it, in Markdown
severityHow bad it is
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
statusWhere it stands
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
started_atWhen it started
acknowledged_atWhen someone acknowledged it
resolved_atWhen it was resolved
alert_idThe alert that opened it, for incidents declared by an escalation path
Who has which role
created_atWhen it was declared
Update an incident
Changes only the fields you send. Status and severity changes are announced like in the dashboard. To share what's known, post an update instead.
path Parameters
incidentIncident ID.
Update an incident › Request Body
titleWhat's going on
summaryMore about it, in Markdown
severityHow bad it is. Changing it is announced in the incident's Slack channel
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
statusWhere it stands, without posting an update
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
Update an incident › Responses
The updated incident.
idIncident ID
numberThe team's sequence number: INC-42 is 42. null for some older incidents
referenceThe human reference
titleWhat's going on
summaryMore about it, in Markdown
severityHow bad it is
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
statusWhere it stands
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
started_atWhen it started
acknowledged_atWhen someone acknowledged it
resolved_atWhen it was resolved
alert_idThe alert that opened it, for incidents declared by an escalation path
Who has which role
created_atWhen it was declared
Delete an incident
Deletes it for good, open or resolved, with its updates, role assignments and postmortem. Nothing else goes with it: the alert that opened it keeps firing or stays resolved, status page incidents published from it stay on their pages, and its Slack channel isn't archived.
path Parameters
incidentIncident ID.
Delete an incident › Responses
No content
Acknowledge an incident
Moves it to identified and stops the escalation of the alert that opened it.
path Parameters
incidentIncident ID.
Acknowledge an incident › Responses
The acknowledged incident.
idIncident ID
numberThe team's sequence number: INC-42 is 42. null for some older incidents
referenceThe human reference
titleWhat's going on
summaryMore about it, in Markdown
severityHow bad it is
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
statusWhere it stands
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
started_atWhen it started
acknowledged_atWhen someone acknowledged it
resolved_atWhen it was resolved
alert_idThe alert that opened it, for incidents declared by an escalation path
Who has which role
created_atWhen it was declared
Resolve an incident
Ends it, with an optional closing update. Its status page incidents stay as they are: resolve those with a status page update.
path Parameters
incidentIncident ID.
Resolve an incident › Request Body
messageA closing update, in Markdown; leave out for none
Resolve an incident › Responses
The resolved incident.
idIncident ID
numberThe team's sequence number: INC-42 is 42. null for some older incidents
referenceThe human reference
titleWhat's going on
summaryMore about it, in Markdown
severityHow bad it is
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
statusWhere it stands
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
started_atWhen it started
acknowledged_atWhen someone acknowledged it
resolved_atWhen it was resolved
alert_idThe alert that opened it, for incidents declared by an escalation path
Who has which role
created_atWhen it was declared
List an incident's updates
Returns the updates, newest first.
path Parameters
incidentIncident ID.
query Parameters
pagePage number, from 1.
per_pageUpdates per page, 1 to 100.
List an incident's updates › Responses
Paginated set of IncidentUpdate
current_pagefirst_page_urlfromlast_page_urllast_pageGenerated paginator links.
next_page_urlpathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
prev_page_urltoNumber of the last item in the slice.
totalTotal number of items being paginated.
Post an incident update
Adds what's known now to the timeline, optionally with a new status, and shares it like an update from the dashboard.
path Parameters
incidentIncident ID.
Post an incident update › Request Body
bodyWhat's known now, in Markdown
statusMove the incident to this status with the update; leave out to keep it
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
Post an incident update › Responses
The posted update.
idUpdate ID
statusThe incident's status with this update
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
bodyThe update, in Markdown
created_atWhen it was posted
Get an incident's timeline
Everything that happened, newest first: declaring, updates, status and severity changes, roles, acknowledging and resolving, with who did it.
path Parameters
incidentIncident ID.
query Parameters
pagePage number, from 1.
per_pageEntries per page, 1 to 100.
Get an incident's timeline › Responses
Paginated set of IncidentTimelineEntry
current_pagefirst_page_urlfromlast_page_urllast_pageGenerated paginator links.
next_page_urlpathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
prev_page_urltoNumber of the last item in the slice.
totalTotal number of items being paginated.
Assign an incident role
Gives the role to a member of the team, replacing whoever had it.
path Parameters
incidentIncident ID.
roleThe role.
A role in handling an incident; one member each.
commander Leads the response and makes the calls. |
communications_lead Keeps customers and the company informed, for example through the status page. |
Assign an incident role › Request Body
member_idThe member who takes the role; they replace whoever had it
Assign an incident role › Responses
The incident with its roles.
idIncident ID
numberThe team's sequence number: INC-42 is 42. null for some older incidents
referenceThe human reference
titleWhat's going on
summaryMore about it, in Markdown
severityHow bad it is
critical Customers are affected right now. |
high Serious, needs attention soon. |
medium Should be looked at. |
low Informational. |
statusWhere it stands
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
started_atWhen it started
acknowledged_atWhen someone acknowledged it
resolved_atWhen it was resolved
alert_idThe alert that opened it, for incidents declared by an escalation path
Who has which role
created_atWhen it was declared
Remove an incident role
Nobody has the role afterwards. Removing a role nobody has changes nothing.
path Parameters
incidentIncident ID.
roleThe role.
A role in handling an incident; one member each.
commander Leads the response and makes the calls. |
communications_lead Keeps customers and the company informed, for example through the status page. |
Remove an incident role › Responses
No content
Write an incident's postmortem
Creates the postmortem, or replaces its content.
path Parameters
incidentIncident ID.
Write an incident's postmortem › Request Body
contentThe whole postmortem, in Markdown; replaces the current one
publishedMark it as published (final), or as a draft again. Leave out to keep its state
Write an incident's postmortem › Responses
The saved postmortem.
contentThe postmortem, in Markdown
publishedWhether it is marked as published (final). It is not shown on status pages
updated_atWhen it last changed
Publish to a status page
Posts an update of this incident on one of the team's status pages, creating the public
incident there the first time (201; later updates answer 200). The public incident
takes the incident's title. affected_components are the impacts as of published_at
(default now); leave the field out to keep them. Confirmed subscribers are emailed
unless notify_subscribers is false. Needs both incidents:write and
status-pages:write.
path Parameters
incidentIncident ID.
Publish to a status page › Request Body
status_page_idThe status page to publish on
statusThe public incident's status with this update. resolved closes every open impact period
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
bodyThe message visitors read, in Markdown
impactThe public incident's own impact, used while it affects no components; otherwise it follows the components
none No impact (for a component: not affected). |
degraded_performance Slower or less reliable than usual. |
partial_outage Down for some visitors or some functions. |
major_outage Down. |
published_atWhen it happened, now or in the past (default now)
The components it affects as of published_at, with their impact; components left out are no longer affected. Leave out to keep the impacts as they are; send [] for none. Components of the status page only
notify_subscribersEmail confirmed subscribers about the update (default true). false changes the page without emails
Publish to a status page › Responses
The public incident, updated.
idStatus page incident ID
titleTitle shown on the page
statusWhere it stands: the status of its latest update
investigating Declared; the cause isn't known yet. |
identified Acknowledged: the cause is known and someone works on it. |
monitoring A fix is out; watching whether it holds. |
resolved Over. |
impactThe worst ongoing impact of its periods (the peak once resolved), none without one. An incident that affects no components keeps the impact it was given
none No impact (for a component: not affected). |
degraded_performance Slower or less reliable than usual. |
partial_outage Down for some visitors or some functions. |
major_outage Down. |
incident_idThe team's incident that publishes to it; null for none
automatedOpened by monitor automation and still managed by it, until someone posts an update or edits its timeline
Updates, newest first
Components it affects or affected
The impact timeline, oldest first
resolved_atWhen it was resolved; null while open
created_atWhen it was created