Skip to main content

incidents

Overview

Nameincidents
TypeResource
Idpagerduty.incidents.incidents

Fields

NameDatatypeDescription
idstring
acknowledgementsarrayList of all acknowledgements for this incident. This list will be empty if the Incident.status is resolved or triggered.
alert_countsobject
assigned_viastringHow the current incident assignments were decided. Note that direct_assignment incidents will not escalate up the attached escalation_policy
assignmentsarrayList of all assignments for this incident. This list will be empty if the Incident.status is resolved.
bodyobject
conference_bridgeobject
created_atstringThe date/time the incident was first triggered.
escalation_policyobject
first_trigger_log_entryobject
html_urlstringa URL at which the entity is uniquely displayed in the Web app
incident_keystringThe incident's de-duplication key.
incident_numberintegerThe number of the incident. This is unique across your account.
incidents_respondersarray
last_status_change_atstringThe time at which the status of the incident last changed.
last_status_change_byobjectThe agent (user, service or integration) that created or modified the Incident Log Entry.
pending_actionsarrayThe list of pending_actions on the incident. A pending_action object contains a type of action which can be escalate, unacknowledge, resolve or urgency_change. A pending_action object contains at, the time at which the action will take place. An urgency_change pending_action will contain to, the urgency that the incident will change to.
priorityobject
resolve_reasonobject
responder_requestsarray
selfstringthe API show URL at which the object is accessible
serviceobject
statusstringThe current status of the incident.
summarystringA short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
teamsarrayThe teams involved in the incident’s lifecycle.
titlestringA succinct description of the nature, symptoms, cause, or effect of the incident.
typestringA string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference.
urgencystringThe current urgency of the incident.

Methods

NameAccessible byRequired ParamsDescription
get_incidentSELECTX-EARLY-ACCESS, idShow detailed information about an incident. Accepts either an incident id, or an incident number.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

<!-- theme: warning -->
> ### Early Access
> The include[]=field_values part of this endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

Scoped OAuth requires: incidents.read
list_incidentsSELECTList existing incidents.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read
create_incidentINSERTFrom, data__incidentCreate an incident synchronously without a corresponding event from a monitoring service.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.write
_get_incidentEXECX-EARLY-ACCESS, idShow detailed information about an incident. Accepts either an incident id, or an incident number.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

<!-- theme: warning -->
> ### Early Access
> The include[]=field_values part of this endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

Scoped OAuth requires: incidents.read
_list_incidentsEXECList existing incidents.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read
create_incident_responder_requestEXECFrom, id, data__message, data__requester_id, data__responder_request_targetsSend a new responder request for the specified incident.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.write
create_incident_snoozeEXECFrom, id, data__durationSnooze an incident.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.write
create_incident_status_updateEXECFrom, id, data__messageCreate a new status update for the specified incident. Optionally pass subject and html_message properties in the request body to override the email notification that gets sent.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.write
merge_incidentsEXECFrom, id, data__source_incidentsMerge a list of source incidents into this incident.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.write
remove_incident_notification_subscribersEXECid, data__subscribersUnsubscribes the matching Subscribers from Incident Status Update Notifications.

Scoped OAuth requires: subscribers.write
update_incidentEXECFrom, id, data__incidentAcknowledge, resolve, escalate or reassign an incident.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.write
update_incidentsEXECFrom, data__incidentsAcknowledge, resolve, escalate or reassign one or more incidents.

An incident represents a problem or an issue that needs to be addressed and resolved.

A maximum of 250 incidents may be updated at a time. If more than this number of incidents are given, the API will respond with status 413 (Request Entity Too Large).

Note: the manage incidents API endpoint is rate limited to 500 requests per minute.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.write