Skip to main content

raw_incident_responses

Creates, updates, deletes, gets or lists a raw_incident_responses resource.

Overview

Nameraw_incident_responses
TypeResource
Idpagerduty.analytics.raw_incident_responses

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
responder_idstringID of the user associated with the Incident Response.
responder_namestringName of the user associated with the Incident Response.
requested_atstringTimestamp of when the user was requested.
responded_atstringTimestamp of when the user responded to the request.
responder_typestringType of responder, where assigned means the user was added to the Incident via Assignment at Incident creation, reassigned means the user was added to the Incident via Reassignment, escalated means the user was added via Escalation, and added_responder means the user was added via Responder Reqeuest. (assigned, reassigned, escalated, added_responder)
response_statusstringStatus of the user's interaction with the Incident notification. (joined, pending, declined)
time_to_respond_secondsintegerMeasures the time it took for the user to respond to the Incident request. In other words, responded_at - requested_at.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectidProvides enriched responder data for a single incident.<br /><br />Example metrics include Time to Respond, Responder Type, and Response Status. See metric definitions below.<br /><br /><!-- theme: info --><br />> Note: Data availability reflects [pipeline processing cycles](https:​//support.pagerduty.com/main/docs/insights#:~:text=Data%20Update%20Schedule) and is generally within 24 hours under normal conditions.<br />Scoped OAuth requires: analytics.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.

SELECT examples

Provides enriched responder data for a single incident.<br /><br />Example metrics include Time to Respond, Responder Type, and Response Status. See metric definitions below.<br /><br /><!-- theme: info --><br />> Note: Data availability reflects [pipeline processing cycles](https:​//support.pagerduty.com/main/docs/insights#:~:text=Data%20Update%20Schedule) and is generally within 24 hours under normal conditions.<br />Scoped OAuth requires: analytics.read<br />

SELECT
responder_id,
responder_name,
requested_at,
responded_at,
responder_type,
response_status,
time_to_respond_seconds
FROM pagerduty.analytics.raw_incident_responses
WHERE id = '{{ id }}' -- required
;