Skip to main content

outlier_incidents

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

Overview

Nameoutlier_incidents
TypeResource
Idpagerduty.incidents.outlier_incidents

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
getselectidsince, additional_details[]Gets Outlier Incident information for a given Incident on its Service.<br /><br />For more information see the [API Concepts Document](https:​//developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#outlier-incident)<br /><br />Scoped OAuth requires: incidents.read<br />

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.
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.<br /><br />For more information see the [API Concepts Document](https:​//developer.pagerduty.com/api-reference/a47605517c19a-api-concepts#outlier-incident)<br /><br />Scoped OAuth requires: incidents.read<br />

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