Skip to main content

outlier_incident

Creates, updates, deletes, gets or lists an outlier_incident resource.

Overview

Nameoutlier_incident
TypeResource
Idpagerduty.incidents.outlier_incident

Fields

The following fields are returned by SELECT queries:

Outlier Incident information calculated over the same Service as the given Incident.

NameDatatypeDescription
incidentobject
incident_templateobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_outlier_incidentselectidAccept, Content-Type, since, additional_details[]Gets Outlier Incident information for a given Incident on its Service.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read
_get_outlier_incidentexecidAccept, Content-Type, since, additional_details[]Gets Outlier Incident information for a given Incident on its Service.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe ID of the resource.
AcceptstringThe Accept header is used as a versioning header.
Content-Typestring
additional_details[]stringArray of additional attributes to any of the returned incidents for related incidents.
sincestring (date-time)The start of the date range over which you want to search.

SELECT examples

Gets Outlier Incident information for a given Incident on its Service.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read

SELECT
incident,
incident_template
FROM pagerduty.incidents.outlier_incident
WHERE id = '{{ id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
AND since = '{{ since }}'
AND additional_details[] = '{{ additional_details[] }}'
;

Lifecycle Methods

Gets Outlier Incident information for a given Incident on its Service.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read

EXEC pagerduty.incidents.outlier_incident._get_outlier_incident 
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}',
@since='{{ since }}',
@additional_details[]='{{ additional_details[] }}'
;