|docs
Start Trial

List alerts for an incident

List alerts for the specified incident.

An incident represents a problem or an issue that needs to be addressed and resolved.

For more information see the API Concepts Document

Scoped OAuth requires: incidents.read

Authorization<token>

The API Key with format Token token=<API_KEY>

In: header

Path Parameters

id*string

The ID of the resource.

Query Parameters

limit?integer

The number of results per page.

offset?integer

Offset to start pagination search results.

total?boolean

By default the total field in pagination responses is set to null to provide the fastest possible response times. Set total to true for this field to be populated.

See our Pagination Docs for more information.

Defaultfalse
alert_key?string

Alert de-duplication key.

statuses[]?string

Return only alerts with the given statuses. (More status codes may be introduced in the future.)

Value in

  • "triggered"
  • "resolved"
sort_by?string

Used to specify both the field you wish to sort the results on (created_at/resolved_at), as well as the direction (asc/desc) of the results. The sort_by field and direction should be separated by a colon. A maximum of two fields can be included, separated by a comma. Sort direction defaults to ascending.

Itemsitems <= 2

Value in

  • "created_at"
  • "resolved_at"
  • "created_at:asc"
  • "created_at:desc"
  • "resolved_at:asc"
  • "resolved_at:desc"
include[]?string

Array of additional details to include.

Value in

  • "services"
  • "first_trigger_log_entries"
  • "incidents"

Header Parameters

Accept*string

The Accept header is used as a versioning header.

Default"application/vnd.pagerduty+json;version=2"
Content-Type*"application/json"
Default"application/json"

Value in

  • "application/json"

Response Body

application/json

application/json

application/json

application/json

application/json