Skip to main content
GET
/
incidents
/
{incident_id}
Get an incident
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

Path Parameters

incident_id
string
required
Example:

Response

id
string
required
alertId
string
required
alertVersion
integer
required
alertTemplateId
string
required
status
string
required
createdAt
string<date-time>
required
validUntil
string<date-time>
reportData
object
lastCheckedAt
string<date-time>
updatedAt
string<date-time>