# List check runs

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

The check's results, newest first: one row per location and run, with the outcome, timings, the status code, the error code and what the location saw of the response. The last 24 hours unless `from` and `to` say otherwise. Late results are marked.

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_check_runs`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `checkId` | path | yes | string (uuid) | The check's id. |
| `from` | query | no | string | RFC 3339; default 24 h before `to`. |
| `to` | query | no | string | RFC 3339; default now. |
| `nodeId` | query | no | string (uuid) | Only this node's results. |
| `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. |
| `outcome` | query | no | string | Comma-separated outcomes to keep: `up`, `degraded`, `down`, `none` (a run without an outcome). Default: every run. |

## Responses

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

### 200

A page of runs and the locations they came from.

`application/json`: RunPage

| Field | Type | Required | Description |
|---|---|---|---|
| `items` | array of RunView | yes |  |
| `nextCursor` | string \| null | no |  |
| `nodes` | array of NodeRef | yes | The nodes the items name, revoked ones included. |

Example:

```json
{
  "items": [
    {
      "connectMs": 6,
      "dnsMs": 2,
      "epoch": 1,
      "headers": {
        "content-type": "application/json"
      },
      "kind": "scheduled",
      "late": false,
      "nodeId": "NODE_ID_FRA",
      "outcome": "up",
      "receivedAt": "2026-11-27T14:20:00.188Z",
      "redirects": [],
      "remoteIp": "203.0.113.10",
      "responseBytes": 15,
      "roundId": 48211,
      "slotAt": "2026-11-27T14:20:00Z",
      "startedAt": "2026-11-27T14:20:00.012Z",
      "statusCode": 200,
      "tlsMs": 9,
      "totalMs": 24,
      "ttfbMs": 22
    }
  ],
  "nextCursor": "NEXT_CURSOR",
  "nodes": [
    {
      "city": "Frankfurt",
      "countryCode": "DE",
      "id": "NODE_ID_FRA",
      "name": "fra-1",
      "revoked": false
    }
  ]
}
```

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

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