GET
/
incidents
/
{incident_id}
curl --request GET \
  --url https://api.togai.com/incidents/{incident_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "incident.1zYnCiM9Bpg.lv25y",
  "alertTemplateId": "abcd-efgh-ijkl-mnop",
  "alertId": "alert.1zYnCiM9Bpg.lv25y",
  "alertVersion": 1,
  "validUntil": "2020-01-01T00:00:00Z",
  "reportData": {
    "usageValue": 10
  },
  "status": "ACTIVE",
  "createdAt": "2020-01-01T00:00:00Z",
  "updatedAt": "2020-01-01T00:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

incident_id
string
required
Example:

"inc.20aUyEZSuYq.SoGbS"

Response

200
application/json
Response for getting incident
id
string
required

Incident ID

alertId
string
required

Alert ID

alertVersion
integer
required

Alert Version

alertTemplateId
string
required

Alert Template Id

status
string
required

Incident Status

createdAt
string
required

Created At

validUntil
string
reportData
object
lastCheckedAt
string

Last Checked At

updatedAt
string

Updated At