Get a list of incidents

get

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/incidents

Returns a list of incidents based on the filters specified. By default, it returns the first set of all open incidents with the most recently created incidents listed first.

Request

Query Parameters
  • Get incidents which are newer than the number of days specified
    Default Value: 744
    Example:
    24
  • Include matching incidents on members of the given target
    Default Value: true
  • Limits number of items returned in current call. Use the self/previous/next links from the response to fetch additional items.
    Default Value: 50
  • Identifies the set of items to be fetched; "href" element from "links" list of the response provides encoded value for this parameter. "href" element value should be used "as is" for fetching respective set of items.
    Default Value: Base64 encode value of 0 i.e MA==
  • Filter by specified severities
  • Sort results by attributes such as id, displayId, timeCreated, timeUpdated, status and owner
    Example:
    displayId:ASC,timeUpdated:DESC
  • Filter by specific target name.
  • Filter by specific target type.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation - Fetch incident list
Body ()
Root Schema : IncidentCollection
List of incident summary
Match All
Show Source
Nested Schema : ListRspns
Type: object
Generic list response wrapper
Show Source
Nested Schema : IncidentCollection-allOf[1]
Type: object
Show Source
Nested Schema : items
Type: array
List of the incident summary
Show Source
Nested Schema : IncidentSummary
Type: object
Summary of an incident
Show Source
Nested Schema : EscalationLevel
Type: object
Details of an escalation level
Show Source
Nested Schema : nonTargetEntities
Type: array
Minimum Number of Items: 0
Unique Items Required: true
Entities (jobs, etc.) other than targets which are affected by this incident
Show Source
Nested Schema : Priority
Type: object
Details of an priority
Show Source
Nested Schema : SuppressionStatus
Type: object
Details of an suppression status
Show Source
Nested Schema : targets
Type: array
Minimum Number of Items: 0
Unique Items Required: true
Targets affected by this incident
Show Source
Nested Schema : TicketSummary
Type: object
Read Only: true
Details of the ticket
Show Source
  • Read Only: true
    ID of the ticket
    Example: 51d62b6cd1384ba89aeddfa647ea1380
  • Status of the ticket
    Example: Triggered
  • Type of the ticket
    Example: TICKET
  • URL of the ticket
    Example: https://api.pagerduty.com/incidents?incident_key=F746283FHDKC
Nested Schema : SourceEntity
Type: object
Details of an source entity
Show Source
Nested Schema : schema
Type: object
Target details
Show Source

400 Response

Bad Request
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

Unauthorized
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

404 Response

Not Found
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

Service Unavailable
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top