Skip to content

List checks

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

The project’s checks in the order they were created, each with its status, the station row (the latest result at each of its locations), the last 24 hours by the hour, 30-day uptime and the median response time. Secret header values are never included.

projectId
required
string format: uuid

The project’s id.

Example

PROJECT_ID
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 checks.

Media typeapplication/json
object
items
required
Array
object
createdAt
required
string
downAfter
required
integer format: int32
epoch
required

Bumped whenever a change alters the check’s meaning; results of other epochs never vote.

integer format: int64
escalationPolicyId

The check’s own escalation policy; null: the project’s (ProjectView.escalationPolicyId).

string | null format: uuid
id
required
string format: uuid
intervalSecs
required
integer format: int32
kind
required
One of:
object
assertions
Array
One of:
object
op
required
string
Allowed values: eq ne lt le gt ge
target
required
string
Allowed values: status
value
required
integer format: int32
body
string | null
degradedAfterMs

Response time above this marks the run DEGRADED.

integer | null format: int32
headers
Array<object>
object
name
required
string
value
required
One of:
object
kind
required
string
Allowed values: plain
value
required
string
maxRedirects
required
integer format: int32
method
required
string
Allowed values: GET HEAD POST PUT PATCH DELETE OPTIONS
url
required
string
type
required
string
Allowed values: http
managedBy

config when a config apply manages the check (only those are pruned), ui otherwise. Always sent; optional in the schema because it was added after the first clients.

string
Allowed values: ui config
muted
required
boolean
name
required
string
nodes
required
Array<string>
paused
required
boolean
projectId
required
string format: uuid
quorum
required
One of:

F ≥ ⌈M/2⌉ and F ≥ min(2, S).

object
mode
required
string
Allowed values: half
ref

The check’s key in a config file (monitorly.yaml); null until a config apply creates or adopts it. Always sent; optional in the schema because it was added after the first clients.

string | null
timeoutMs
required
integer format: int32
upAfter
required
integer format: int32
updatedAt
required
string
last24h

24 clock hours of the workspace time zone, oldest first; the last one is the current hour up to now. From the check’s decided status intervals (the same record uptime is computed from); time outside any interval, and PENDING, count as no data. Node “no data” gaps are not applied here, unlike in daily uptime. Always sent; optional in the schema because it was added after the first clients.

Array<object>

One hour of the check’s status strip. Milliseconds per status add up to the hour’s length.

object
degradedMs
required
integer format: int64
downMs
required
integer format: int64
from
required
string
maintenanceMs
required
integer format: int64
noDataMs
required
integer format: int64
pausedMs
required
integer format: int64
to
required
string
unknownMs
required

Too few nodes to decide (UNKNOWN).

integer format: int64
upMs
required
integer format: int64
worst
required

The worst status the hour saw: DOWN, DEGRADED, UNKNOWN, MAINTENANCE, UP, PAUSED, or NO_DATA when nothing was decided.

string
latencyP50Ms24h

Median response time in ms over the last 24 complete UTC hours: the median of the hourly medians of the check, weighted by their measured runs (an estimate, not the exact median of all runs). null without measured runs; the newest hour appears a few minutes after it ends.

integer | null format: int32
stations
required
Array<object>

One location of the check’s station row: a node selected on the check that is not revoked.

object
city
string | null
countryCode

Null until the node is located.

string | null
errorCode
string | null
lastSeenAt

The node’s last heartbeat: for an offline node, since when it has been silent.

string | null
nodeHealth

The node’s own health from its heartbeats: online, degraded or offline; null before its first heartbeat. Says why a location has no fresh result: only online nodes count for a decision, and a check is UNKNOWN while fewer than min(2, selected) of its nodes are online. Added 2026-11-15.

string | null
nodeId
required
string format: uuid
nodeName
required
string
outcome

Last outcome at this location: UP, DEGRADED, DOWN or CONFIG_ERROR; absent before the first run.

string | null
runAt
string | null
totalMs
integer | null format: int32
status

PENDING, UP, DEGRADED, DOWN, UNKNOWN, MAINTENANCE or PAUSED; absent until the check is first evaluated.

string | null
statusSince
string | null
uptime30dPercent

(UP + DEGRADED) / (UP + DEGRADED + DOWN) over the last 30 days of the workspace calendar, today included, in percent (rules, “Uptime”); null when none of that time was decided.

number | null format: double
nextCursor
string | null

Example

{
"items": [
{
"createdAt": "2026-11-02T09:14:00Z",
"downAfter": 2,
"epoch": 1,
"escalationPolicyId": null,
"id": "CHECK_ID",
"intervalSecs": 30,
"kind": {
"assertions": [
{
"op": "eq",
"target": "status",
"value": 200
},
{
"op": "equals",
"path": "$.db",
"target": "json",
"value": "ok"
}
],
"maxRedirects": 0,
"method": "GET",
"type": "http",
"url": "https://api.acme.io/healthz"
},
"last24h": [
{
"degradedMs": 0,
"downMs": 0,
"from": "2026-11-27T13:00:00Z",
"maintenanceMs": 0,
"noDataMs": 0,
"pausedMs": 0,
"to": "2026-11-27T14:00:00Z",
"unknownMs": 0,
"upMs": 3600000,
"worst": "UP"
},
{
"degradedMs": 0,
"downMs": 450000,
"from": "2026-11-27T14:00:00Z",
"maintenanceMs": 0,
"noDataMs": 0,
"pausedMs": 0,
"to": "2026-11-27T14:20:00Z",
"unknownMs": 0,
"upMs": 3150000,
"worst": "DOWN"
}
],
"latencyP50Ms24h": 42,
"managedBy": "ui",
"muted": false,
"name": "payments-health",
"nodes": [
"NODE_ID_HEL",
"NODE_ID_FRA",
"NODE_ID_AMS"
],
"paused": false,
"projectId": "PROJECT_ID",
"quorum": {
"mode": "half"
},
"stations": [
{
"city": "Helsinki",
"countryCode": "FI",
"lastSeenAt": "2026-11-27T14:20:01Z",
"nodeHealth": "online",
"nodeId": "NODE_ID_HEL",
"nodeName": "hel-1",
"outcome": "up",
"runAt": "2026-11-27T14:20:00Z",
"totalMs": 47
},
{
"city": "Frankfurt",
"countryCode": "DE",
"lastSeenAt": "2026-11-27T14:20:01Z",
"nodeHealth": "online",
"nodeId": "NODE_ID_FRA",
"nodeName": "fra-1",
"outcome": "up",
"runAt": "2026-11-27T14:20:00Z",
"totalMs": 24
},
{
"city": "Amsterdam",
"countryCode": "NL",
"lastSeenAt": "2026-11-27T14:20:01Z",
"nodeHealth": "online",
"nodeId": "NODE_ID_AMS",
"nodeName": "ams-1",
"outcome": "up",
"runAt": "2026-11-27T14:20:00Z",
"totalMs": 31
}
],
"status": "UP",
"statusSince": "2026-11-27T14:09:41Z",
"timeoutMs": 10000,
"upAfter": 2,
"updatedAt": "2026-11-02T09:14:00Z",
"uptime30dPercent": 99.97
}
],
"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
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

{
"detail": "too many requests with this token",
"errors": [],
"status": 429,
"title": "Too Many Requests",
"type": "token.rate_limited"
}
Retry-After
integer
>= 1

Seconds to wait before trying again.