younifyd
Menu

Get Related Incidents

Get Related Incidents

GET/incidents/{id}/related_incidents

Use it in a workflow

  1. Add a step and choose the PagerDuty connector.
  2. Pick the Get Related Incidents action (under Incidents).
  3. Fill in the fields below, then reference the result from later steps as {{getRelatedIncidents.response.data}}.

Request

Path parameters

idstringrequired

The ID of the resource.

Query parameters

additional_details[]string

Array of additional attributes to any of the returned incidents for related incidents.

One ofincident

Headers

Acceptstringrequired

The `Accept` header is used as a versioning header.

Default "application/vnd.pagerduty+json;version=2"

Content-Typestringrequired

One ofapplication/jsonDefault "application/json"

Response

Returns 200 with an object. Read it in later steps with {{getRelatedIncidents.response.data.<field>}}.

related_incidentsarray<object>

A list of Related Incidents and their relationships.

incidentany
relationshipsarray<object>2 fields

A list of reasons for why the Incident is considered related.

json
{
  "related_incidents": [
    {
      "incident": null,
      "relationships": [
        {
          "type": "machine_learning_inferred",
          "metadata": null
        }
      ]
    }
  ]
}

Need more? See the PagerDuty guide for connection setup and behaviour shared by every action.