# List nodes

`GET /api/v1/workspaces/{workspaceId}/nodes`

The locations checks can run from: the platform's nodes and the workspace's private nodes, each with its country, city and health. Checks name their locations by these ids.

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

Section: Nodes. Operation id in openapi.json: `list_nodes`.

## Parameters

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

## Responses

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

### 200

The nodes.

`application/json`: array of NodeView

Example:

```json
[
  {
    "city": "Helsinki",
    "countryCode": "FI",
    "createdAt": "2026-10-01T08:00:00Z",
    "health": {
      "lastHeartbeatAt": "2026-11-27T14:20:05Z",
      "status": "online"
    },
    "id": "NODE_ID_HEL",
    "locationSource": "manual",
    "name": "hel-1",
    "scope": "platform"
  },
  {
    "city": "Frankfurt",
    "countryCode": "DE",
    "createdAt": "2026-11-02T09:14:00Z",
    "health": {
      "lastHeartbeatAt": "2026-11-27T14:20:02Z",
      "status": "online"
    },
    "id": "NODE_ID_FRA",
    "locationSource": "auto",
    "name": "fra-1",
    "scope": "private"
  }
]
```

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