Skip to content

Pause a check

POST
/api/v1/checks/{checkId}/pause
curl --request POST \
--url https://app.monitorly.cloud/api/v1/checks/CHECK_ID/pause \
--header 'Authorization: Bearer <token>'

Pauses the check: its status becomes PAUSED, its locations stop running it and nothing is counted.

checkId
required
string format: uuid

The check’s id.

Example

CHECK_ID

The paused check.

Media typeapplication/json

A stored check as answered by the API.

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

Example

{
"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"
},
"managedBy": "ui",
"muted": false,
"name": "payments-health",
"nodes": [
"NODE_ID_HEL",
"NODE_ID_FRA",
"NODE_ID_AMS"
],
"paused": true,
"projectId": "PROJECT_ID",
"quorum": {
"mode": "half"
},
"timeoutMs": 10000,
"upAfter": 2,
"updatedAt": "2026-11-27T15:05: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
  • request.origin_mismatch, request.header_required: a changing request with a session comes from another site or lacks X-Monitorly-Request: 1
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
  • session.rate_limited: more than 5 changes a second from your sessions
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.