Skip to content

List incidents

GET
/api/v1/projects/{projectId}/incidents
curl --request GET \
--url 'https://app.monitorly.cloud/api/v1/projects/PROJECT_ID/incidents?state=open&checkId=CHECK_ID&limit=50' \
--header 'Authorization: Bearer <token>'

The project’s incidents, newest first. Filter by state, by checkId, by when they opened (from, to) and by when they closed (closedAfter: still open, or closed at or after that instant).

projectId
required
string format: uuid

The project’s id.

Example

PROJECT_ID
state
string
Allowed values: open closed

open or closed; every incident without it.

checkId
string format: uuid

Only this check’s incidents.

Example

CHECK_ID
from
string

RFC 3339: only incidents opened at or after this instant.

to
string

RFC 3339: only incidents opened before this instant.

closedAfter
string

RFC 3339: only incidents still open or closed at or after this instant; with to, the incidents that overlap the window.

cursor
string

The nextCursor of the previous page. Leave it out for the first page.

limit
integer format: int32
default: 50 >= 1 <= 200

Items per page, 1–200; 50 by default. A larger value counts as 200.

A page of incidents.

Media typeapplication/json
object
items
required
Array<object>
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
nextCursor
string | null

Example

{
"items": [
{
"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
},
"id": "INCIDENT_ID",
"openedAt": "2026-11-27T14:02:11Z",
"projectId": "PROJECT_ID"
}
],
"nextCursor": null
}

Bad Request.

  • request.malformed: the body or a parameter is not of the expected shape
  • request.invalid_cursor: the cursor is not one this list gave
  • 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"
}

Unprocessable Entity.

  • field.invalid, field.required: a parameter breaks a rule; errors points at it
  • request.invalid_range: from is not earlier than to
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.