# Get a check

`GET /api/v1/checks/{checkId}`

One check with its status, its station row and its settings. Secret header values are never included: a header that holds a secret shows only its `secretId`.

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

Section: Checks. Operation id in openapi.json: `get_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 check with its status.

`application/json`: CheckWithState

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"
  },
  "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
}
```

### 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

### 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

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