• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Get a PagerDuty incident

|View as Markdown

For prerequisites, see PagerDuty incident actions.

Get a PagerDuty incident

The action identifier is pagerduty.incident.get.

Retrieves the details of a single PagerDuty incident by ID.

The following table describes all available input fields for this action.

Input

Type

Description

Example

token

String

Required. PagerDuty API token.

${{ :secrets:pagerdutyApiToken }}

incidentId

String

Required. The incident ID to retrieve.

"Q123456789"

parameters

Map

Optional. Additional query parameters such as include[] for related resources.

{"include[]": "services"}

selectors

List

Optional. JQ selectors to extract fields from the output.

[{"name": "incidentId", "expression": ".responseBody | fromjson.incident.id"}]

The following table describes all output fields returned by this action.

Output

Type

Description

success

Boolean

true on success, false on failure.

response

Object

The incident object.

errorMessage

String

Error message on failure. null on success.

The following example retrieves the details of a PagerDuty incident by ID.

Workflow example

name: get-pagerduty-incident
description: Get the details of a PagerDuty incident
steps:
- name: pagerduty_incident_get_1
type: action
action: pagerduty.incident.get
version: 1
inputs:
token: ${{ :secrets:pagerdutyApiToken }}
incidentId: Q1234455677
next: end
Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.