---
title: "List all nodes"
method: GET
path: "/api/nodes"
tags: ["Nodes"]
---

# List all nodes

`GET /api/nodes`

Returns all registered nodes (local and remote).

## Response `200`

Array of node objects.

- Node[]
  - `id` integer, required
  - `name` string, required
  - `type` 'local' | 'remote', required
  - `compose_dir` string, required — Base directory for Docker Compose stacks on this node.
  - `is_default` 0 | 1, required — Whether this is the default node (1 = true).
  - `api_url` string — Remote node API URL (only for remote nodes).
  - `api_token` string — Redacted API token for remote node authentication.
  - `created_at` integer, required — Unix timestamp (seconds).

## Other responses

- `401` — Authentication required. Provide a valid Bearer token.
- `500` — Internal server error.

---

[API](https://skmtc.net/studio-saelix/apis/sencho-api.md) · [All operations](https://skmtc.net/studio-saelix/apis/sencho-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/studio-saelix/sencho-api/versions/f36f82acae1d/schema)
