Skip to main content
GET
/
incidents
/
{incident}
Get Incident
curl --request GET \
  --url http://localhost/api/incidents/{incident}
{
  "data": {
    "id": "<string>",
    "type": "incidents",
    "attributes": {
      "id": 123,
      "guid": "<string>",
      "name": "<string>",
      "message": "<string>",
      "visible": 0,
      "stickied": true,
      "notifications": 123,
      "status": {
        "human": "<string>",
        "value": "<string>"
      },
      "occurred": {
        "human": "<string>",
        "string": "<string>"
      },
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      },
      "components_count": "<string>"
    },
    "relationships": {
      "components": {
        "data": [
          {
            "type": "components",
            "id": "<string>"
          }
        ]
      },
      "updates": {
        "data": [
          {
            "type": "updates",
            "id": "<string>"
          }
        ]
      },
      "user": {
        "data": {
          "type": "<string>",
          "id": "<string>"
        }
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.cachethq.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

incident
integer
required

The incident ID

Query Parameters

include
string

Available includes are components, componentsCount, componentsExists, updates, updatesCount, updatesExists, user, userCount, userExists. You can include multiple options by separating them with a comma.

Response

Incident

data
Incident · object
required