Skip to main content

Retrieve all incidents from PagerDuty

Retrieve all incidents from PagerDuty.

Application

  • PagerDuty

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Connected AccountThe connected account to use for the requestConnected AccountYes
Return all?Whether to return all results or only up to a given limitTrue/FalseNo
LimitMax number of results to returnNumberNo
Date rangeWhen set to all, the since and until parameters and defaults are ignoredPredefined Choice ListNo
Incident keyIncident de-duplication key. Incidents with child alerts do not have an incident key; querying by incident key will return incidents whose alerts have alert_key matching the given incident keyText (Short)No
IncludeAdditional details to includePredefined Choice ListNo
Service ID 1Returns only the incidents associated with the passed service(s)Text (Short)No
Service ID 2Returns only the incidents associated with the passed service(s)Text (Short)No
Service ID 3Returns only the incidents associated with the passed service(s)Text (Short)No
SinceThe start of the date range over which you want to search. (the limit on date ranges is 6 months)DatetimeNo
Sort byUsed to specify both the field you wish to sort the results on (incident_number/created_at/resolved_at/urgency), as well as the direction (asc/desc) of the results. The sort_by field and direction should be separated by a colon. A maximum of two fields can be included, separated by a commaText (Short)No
StatusesReturns only the incidents associated with the passed service(s)Predefined Choice ListNo
Team IDsTeam IDs. Only results related to these teams will be returned. Account must have the teams ability to use this parameter. (multiples IDs can be added separated by comma)Text (Long)No
Timezone IDTime zone in which dates in the result will be rendered. If not set dates will return UTCText (Short)No
UntilThe end of the date range over which you want to search. (the limit on date ranges is 6 months)DatetimeNo
UrgenciesUrgencies of the incidents to be returned. Defaults to all urgencies. Account must have the urgencies ability to do thisPredefined Choice ListNo
User IDsReturns only the incidents currently assigned to the passed user(s). This expects one or more user IDs (multiple IDs can be added separated by comma)Text (Long)No

Outputs (what you get)

NameDescriptionData TypeRequired?Example
JSON OutputJSON output returned by the APIText (Long)No

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.
UnsuccessfulThis status is selected if the job has completed unsuccessfully.

Requirements

  • N/A