Escalation paths
What happens when an alert fires: notify channels, page whoever is on call, declare an incident, wait, or branch on severity, source, labels or working hours, step by step until someone acknowledges the alert. Paths are trees: a branch step ends its list of steps and continues in its then and else steps. The dashboard shows the same paths in its flow editor.
List escalation paths
Returns the team's paths with their steps, the default path first, then by name.
query Parameters
pagePage number, from 1.
per_pagePaths per page, 1 to 100.
List escalation paths › Responses
Paginated set of EscalationPath
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.
Create an escalation path
Channels and schedules must belong to the team; a branch ends its list of steps (422
with the step's position, for example steps.1.then.0.channel_id). Paging the person on
call is part of the Team plan and up, and so are paths besides the default one (403
PLAN_LIMIT_REACHED).
Create an escalation path › Request Body
nameName, up to 255 characters
descriptionWhat the path is for, up to 1000 characters
enabledWhether alerts follow the path. Default true
is_defaultMake it the team's default path; the current default stops being one. Default false
The steps, in order, up to 99 in total. Leave out or [] for a path that does nothing yet
Create an escalation path › Responses
The new escalation path.
idEscalation path ID
nameName
descriptionWhat the path is for
enabledWhether alerts follow the path. Alerts of a disabled path don't escalate
is_defaultWhether this is the team's default path, for resources without paths of their own or of their project. One per team
The working hours that branch conditions and "until working hours" waits use
The steps, in order; a branch continues in its then and else steps
Problems that keep the path from reaching someone; empty when it can deliver
created_atWhen the path was created
Get an escalation path
Returns the path with its steps as a tree and the problems that keep it from delivering.
path Parameters
pathEscalation path ID.
Get an escalation path › Responses
The escalation path.
idEscalation path ID
nameName
descriptionWhat the path is for
enabledWhether alerts follow the path. Alerts of a disabled path don't escalate
is_defaultWhether this is the team's default path, for resources without paths of their own or of their project. One per team
The working hours that branch conditions and "until working hours" waits use
The steps, in order; a branch continues in its then and else steps
Problems that keep the path from reaching someone; empty when it can deliver
created_atWhen the path was created
Update an escalation path
Changes only the fields you send; steps replaces all steps. Alerts that are already
escalating keep the steps they started with. Making a path the default takes that from the
current default path.
path Parameters
pathEscalation path ID.
Update an escalation path › Request Body
nameName, up to 255 characters
descriptionWhat the path is for, up to 1000 characters
enabledWhether alerts follow the path
is_defaultMake it the team's default path (the current default stops being one), or not
All steps, in order, up to 99 in total; replaces the current steps
Update an escalation path › Responses
The updated escalation path.
idEscalation path ID
nameName
descriptionWhat the path is for
enabledWhether alerts follow the path. Alerts of a disabled path don't escalate
is_defaultWhether this is the team's default path, for resources without paths of their own or of their project. One per team
The working hours that branch conditions and "until working hours" waits use
The steps, in order; a branch continues in its then and else steps
Problems that keep the path from reaching someone; empty when it can deliver
created_atWhen the path was created