# Resume a check

`POST /api/v1/checks/{checkId}/resume`

Resumes a paused check. Its status is `PENDING` until the first decision.

Sign-in: a dashboard session, an API token with `checks:write` or the `monitorly` CLI's sign-in with `checks:write`.

Section: Checks. Operation id in openapi.json: `resume_check`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `checkId` | path | yes | string (uuid) | The check's id. |

## Responses

Errors are `application/problem+json` (`Problem`); branch on `type`.

### 200

The resumed check.

`application/json`: CheckView

| Field | Type | Required | Description |
|---|---|---|---|
| `createdAt` | string | yes |  |
| `downAfter` | integer | yes |  |
| `epoch` | integer | yes | Bumped whenever a change alters the check's meaning; results of other epochs never vote. |
| `escalationPolicyId` | string (uuid) \| null | no | The check's own escalation policy; null: the project's (`ProjectView.escalationPolicyId`). |
| `id` | string (uuid) | yes |  |
| `intervalSecs` | integer | yes |  |
| `kind` | KindDto | yes |  |
| `managedBy` | ManagedBy | no | `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. |
| `muted` | boolean | yes |  |
| `name` | string | yes |  |
| `nodes` | array of string (uuid) | yes |  |
| `paused` | boolean | yes |  |
| `projectId` | string (uuid) | yes |  |
| `quorum` | QuorumDto | yes |  |
| `ref` | string \| null | no | 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. |
| `timeoutMs` | integer | yes |  |
| `upAfter` | integer | yes |  |
| `updatedAt` | string | yes |  |

Example:

```json
{
  "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": false,
  "projectId": "PROJECT_ID",
  "quorum": {
    "mode": "half"
  },
  "timeoutMs": 10000,
  "upAfter": 2,
  "updatedAt": "2026-11-02T09:14:00Z"
}
```

### 400

Bad Request.

- `auth.credentials_conflict`: the request carries both a session cookie and a token

### 401

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

### 403

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`

### 404

Not Found.

- `request.not_found`: it does not exist, or you cannot see it

### 429

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

Schemas named above are listed with their fields in [the schema list](https://docs.monitorly.cloud/api/reference/schemas.md).
