Skip to content

Get an incident

GET
/api/v1/incidents/{incidentId}
curl --request GET \
--url https://app.monitorly.cloud/api/v1/incidents/INCIDENT_ID \
--header 'Authorization: Bearer <token>'

One incident with the locations that saw the check down when it opened, who acknowledged it, and its timeline.

incidentId
required
string format: uuid

The incident’s id.

Example

INCIDENT_ID

The incident.

Media typeapplication/json
object
ackedAt
string | null
ackedBy
string | null format: uuid
ackedByName

Display name of ackedBy now; null when nobody acknowledged or the user is gone.

string | null
checkId
required
string format: uuid
checkName
required
string
closedAt
string | null
downNodes

The nodes that voted DOWN in the round that opened the incident, with their location and error code as recorded at that moment. Empty for heartbeat checks and for incidents opened before 2026-11-11, which have no such record. Always sent; optional in the schema because it was added after the first clients.

Array<object>
object
city
string | null
countryCode

ISO 3166-1 alpha-2; null when the node had no location then.

string | null
errorCode

Error code of the node’s latest result when the incident opened (http.status, net.timeout, …).

string | null
nodeId
required
string format: uuid
escalation
One of:

Where the incident’s escalation policy is; null for incidents opened before policies (2026-11-16).

object
level
required

The last level that went out, from 1.

integer format: int32
levels
required
integer format: int32
nextAt

When the next level goes out; null once acknowledged, closed or every level and repeat went out.

string | null
policyName
required

The policy’s name when the incident opened.

string
repeatCount
required
integer format: int32
round
required

The run of the policy that level belongs to: 1, then 2 for the first repeat, and so on.

integer format: int32
id
required
string format: uuid
openedAt
required
string
projectId
required
string format: uuid
events
required
Array<object>
object
at
required
string
detail
required
kind
required

What happened: opened, closed, acked, maintenance started, …

string

Example

{
"ackedAt": "2026-11-27T14:03:46Z",
"ackedByName": "Dana Ortiz",
"checkId": "CHECK_ID",
"checkName": "payments-health",
"closedAt": "2026-11-27T14:09:41Z",
"downNodes": [
{
"city": "Frankfurt",
"countryCode": "DE",
"errorCode": "timeout",
"nodeId": "NODE_ID_FRA"
},
{
"city": "Amsterdam",
"countryCode": "NL",
"errorCode": "timeout",
"nodeId": "NODE_ID_AMS"
}
],
"escalation": {
"level": 1,
"levels": 2,
"policyName": "payments on-call",
"repeatCount": 0,
"round": 1
},
"events": [
{
"at": "2026-11-27T14:02:11Z",
"detail": {
"down": [
{
"city": "Frankfurt",
"countryCode": "DE",
"errorCode": "timeout",
"nodeId": "NODE_ID_FRA"
},
{
"city": "Amsterdam",
"countryCode": "NL",
"errorCode": "timeout",
"nodeId": "NODE_ID_AMS"
}
]
},
"kind": "opened"
},
{
"at": "2026-11-27T14:03:46Z",
"detail": {},
"kind": "acked"
},
{
"at": "2026-11-27T14:09:41Z",
"detail": {},
"kind": "closed"
}
],
"id": "INCIDENT_ID",
"openedAt": "2026-11-27T14:02:11Z",
"projectId": "PROJECT_ID"
}

Bad Request.

  • auth.credentials_conflict: the request carries both a session cookie and a token
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Unauthorized.

  • auth.unauthenticated, auth.session_expired: no session, or it ended
  • token.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Forbidden.

  • auth.forbidden: your role is too low for this
  • token.scope_missing: the token lacks the scope this needs; detail names it
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Not Found.

  • request.not_found: it does not exist, or you cannot see it
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}

Too Many Requests.

  • token.rate_limited: more than 10 requests a second with this token
Media typeapplication/problem+json
object
detail
string | null
errors
required

Field errors, empty for errors of the whole request.

Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required

JSON pointer into the request body.

string
status
required
integer format: int32
title
required
string
type
required

Stable code, for example check.timeout_exceeds_interval.

string

Example generated

{
"detail": "example",
"errors": [
{
"code": "example",
"params": {
"additionalProperty": "example"
},
"pointer": "example"
}
],
"status": 1,
"title": "example",
"type": "example"
}
Retry-After
integer
>= 1

Seconds to wait before trying again.