Skip to content

Get a check test

GET
/api/v1/check-tests/{testId}
curl --request GET \
--url https://app.monitorly.cloud/api/v1/check-tests/TEST_ID \
--header 'Authorization: Bearer <token>'

The results of a test so far: per location pending, done (with the outcome, status code, timings and failures), offline, timeout, failed or not_supported. A test is kept for 10 minutes after its deadline.

testId
required
string format: uuid

The test’s id, from the answer that started it.

Example

TEST_ID

The test.

Media typeapplication/json
object
deadline
required

The check’s timeout + 5 s after the start.

string
done
required

running until every node answered or the deadline passed.

boolean
id
required
string format: uuid
projectId
required
string format: uuid
results
required

In the order of check.nodes.

Array<object>
object
certificateExpiresAt

SSL checks: the certificate’s expiry.

string | null
domainExpiresAt

Domain checks: the registration’s expiry.

string | null
error
One of:
object
code
required

Stable code, for example egress.private_address, http.timeout, test.offline.

string
message
required
string
failures
required
Array<object>
object
actual
required
string
index

Index of the failed assertion; null for the implicit 2xx/3xx rule.

integer | null format: int32
finishedAt
string | null
nodeId
required
string format: uuid
outcome
One of:
string
Allowed values: up degraded down
status
required
string
Allowed values: pending done not_supported offline timeout failed
statusCode
integer | null format: int32
timings
One of:
object
connectMs
integer | null format: int32
dnsMs
integer | null format: int32
tlsMs
integer | null format: int32
totalMs
required
integer format: int32
ttfbMs
integer | null format: int32
startedAt
required
string

Example

{
"deadline": "2026-11-27T15:10:15Z",
"done": true,
"id": "TEST_ID",
"projectId": "PROJECT_ID",
"results": [
{
"failures": [],
"finishedAt": "2026-11-27T15:10:02Z",
"nodeId": "NODE_ID_HEL",
"outcome": "up",
"status": "done",
"statusCode": 200,
"timings": {
"totalMs": 47
}
},
{
"failures": [],
"finishedAt": "2026-11-27T15:10:02Z",
"nodeId": "NODE_ID_FRA",
"outcome": "up",
"status": "done",
"statusCode": 200,
"timings": {
"totalMs": 24
}
},
{
"failures": [],
"finishedAt": "2026-11-27T15:10:02Z",
"nodeId": "NODE_ID_AMS",
"outcome": "up",
"status": "done",
"statusCode": 200,
"timings": {
"totalMs": 31
}
}
],
"startedAt": "2026-11-27T15:10:00Z"
}

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.