const url = 'https://app.monitorly.cloud/api/v1/projects/PROJECT_ID/incidents?state=open&checkId=CHECK_ID&limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The project’s id.
Example
PROJECT_IDQuery Parameters
Section titled “Query Parameters”open or closed; every incident without it.
Only this check’s incidents.
Example
CHECK_IDRFC 3339: only incidents opened at or after this instant.
RFC 3339: only incidents opened before this instant.
RFC 3339: only incidents still open or closed at or after this instant; with to, the incidents that
overlap the window.
The nextCursor of the previous page. Leave it out for the first page.
Items per page, 1–200; 50 by default. A larger value counts as 200.
Responses
Section titled “Responses”A page of incidents.
object
object
Display name of ackedBy now; null when nobody acknowledged or the user is gone.
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.
object
ISO 3166-1 alpha-2; null when the node had no location then.
Error code of the node’s latest result when the incident opened (http.status, net.timeout, …).
Where the incident’s escalation policy is; null for incidents opened before policies (2026-11-16).
object
The last level that went out, from 1.
When the next level goes out; null once acknowledged, closed or every level and repeat went out.
The policy’s name when the incident opened.
The run of the policy that level belongs to: 1, then 2 for the first repeat, and so on.
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 shaperequest.invalid_cursor: the cursor is not one this list gaveauth.credentials_conflict: the request carries both a session cookie and a token
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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 endedtoken.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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 thistoken.scope_missing: the token lacks the scope this needs;detailnames it
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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;errorspoints at itrequest.invalid_range:fromis not earlier thanto
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
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
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Headers
Section titled “Headers”Seconds to wait before trying again.