• /
  • EnglishEspañolFrançais日本語한국어Português
  • Inicia sesiónComenzar ahora

List PagerDuty incidents

|View as Markdown (English)

For prerequisites, see PagerDuty incident actions.

List PagerDuty incidents

The action identifier is pagerduty.incident.list.

Retrieves a list of incidents from PagerDuty with optional filtering parameters such as date ranges and status. Supports all query parameters available in the PagerDuty List Incidents API via the parameters map.

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

Input

Type

Description

Example

token

String

Required. PagerDuty API token.

${{ :secrets:pagerdutyApiToken }}

parameters

Map

Optional. Query parameters for filtering. Supports all PagerDuty List Incidents API parameters such as since, until, statuses[], offset, and incident_key.

{"since": "2025-10-14T10:30:00Z", "statuses[]": "resolved"}

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

Contains an incidents array with matching incidents.

errorMessage

String

Error message on failure. null on success.

The following example lists resolved PagerDuty incidents since a given time.

Workflow example

name: list-pagerduty-incidents
description: List resolved PagerDuty incidents since a given time
steps:
- name: pagerduty_incident_list_1
type: action
action: pagerduty.incident.list
version: 1
inputs:
token: ${{ :secrets:pagerdutyApiToken }}
parameters:
since: '2025-10-14T10:30:00Z'
statuses[]: 'resolved'
next: end
Copyright © 2026 New Relic Inc.

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