# List checks

`GET /api/v1/projects/{projectId}/checks`

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.

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: `list_checks`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `projectId` | path | yes | string (uuid) | The project's id. |
| `cursor` | query | no | string | The `nextCursor` of the previous page. Leave it out for the first page. |
| `limit` | query | no | integer | Items per page, 1–200; 50 by default. A larger value counts as 200. |

## Responses

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

### 200

A page of checks.

`application/json`: CheckPage

| Field | Type | Required | Description |
|---|---|---|---|
| `items` | array of CheckWithState | yes |  |
| `nextCursor` | string \| null | no |  |

Example:

```json
{
  "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
}
```

### 400

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

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

### 422

Unprocessable Entity.

- `field.invalid`, `field.required`: a parameter breaks a rule; `errors` points at it

### 429

Too Many Requests.

- `token.rate_limited`: more than 10 requests a second with this token

Example:

```json
{
  "detail": "too many requests with this token",
  "errors": [],
  "status": 429,
  "title": "Too Many Requests",
  "type": "token.rate_limited"
}
```

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