Skip to main content
GET
/
v1
/
incident_relationships
List
curl --request GET \
  --url https://api.incident.io/v1/incident_relationships
{
  "incident_relationships": [
    {
      "id": "01FCNDV6P870EA6S7TK1DSYD5H",
      "incident": {
        "external_id": 123,
        "id": "01FCNDV6P870EA6S7TK1DSYD5H",
        "name": "The database is down"
      }
    }
  ],
  "pagination_meta": {
    "after": "01FCNDV6P870EA6S7TK1DSYDG0",
    "page_size": 25
  }
}

Query Parameters

incident_id
string
required

ID of the incident to find relationships for

Example:

"01FCNDV6P870EA6S7TK1DSYD5H"

page_size
integer<int64>
default:25

Integer number of records to return

Required range: x <= 250
Example:

25

after
string

An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.

Example:

"01FDAG4SAP5TYPT98WGR2N7W91"

Response

200 - application/json

OK response.

incident_relationships
object[]
required
Example:
[
{
"id": "01FCNDV6P870EA6S7TK1DSYD5H",
"incident": {
"external_id": 123,
"id": "01FCNDV6P870EA6S7TK1DSYD5H",
"name": "The database is down"
}
}
]
pagination_meta
object
Example:
{
"after": "01FCNDV6P870EA6S7TK1DSYDG0",
"page_size": 25
}