---
title: "Report whether this install can schedule workloads."
method: GET
path: "/nodes/capability"
tags: ["Nodes"]
---

# Report whether this install can schedule workloads.

`GET /nodes/capability`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/nodes/capability`
- Auth: HTTP bearer

A control plane with no local workloads and no joined worker node accepts
deploys it can never run. Rather than letting every surface learn that by
failing, this endpoint states it up front so the console can render an
onboarding state with a link to join a node — and so a client can tell
"not set up" apart from "not built", which a 404 or a 500 cannot.

## Response `200`

Scheduling capability of this install

- NodeCapabilityResponse: Whether this installation can run a workload anywhere, and if not, why.
  - `active_worker_nodes` integer, required: Worker nodes that are active and heartbeating. Excludes the control plane, which `local_workloads` already reports.
  - `can_manage_nodes` boolean, required: Whether *this caller* can act on `setup_path`. The capability itself is readable by every authenticated session, but the remedy is not: the Worker Nodes page needs `SettingsRead` to list the node inventory and `SettingsWrite` to mint an enrollment token. Sending a caller without both to that page produces "Failed to load worker nodes" — an advertised fix that denies the user who followed it. Clients render a non-admin variant ("ask an administrator") when this is false rather than a dead link.
  - `local_workloads` boolean, required: Whether the control plane itself may run containers, builds and managed services (false in the `control-plane` serve profile).
  - `reason` string, nullable: Why nothing can be placed, when `schedulable` is false. Rendered verbatim by the client.
  - `schedulable` boolean, required: Whether a workload can be placed at all.
  - `setup_path` string, required: Console path that fixes it: where an operator joins a worker node.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-10-05** `4b228ebed583`: 1 info
  - endpoint added
- **2026-10-05** `63a80791dc58`: 1 breaking
  - api path removed without deprecation
- **2026-09-20** `aee2d4587c38`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/nodes/capability/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
