meta
Service metadata and probes
GET / healthz
Liveness probe
Uses no auth, no database and no external services, so it can always answer.
Responses
| Status | Description | Body |
|---|---|---|
200 | Service is healthy. | HealthResponse |
GET / healthz/ worker
Background worker liveness
Says whether the background worker is running. The worker writes the time to the queue's store once a minute. This reads it back. It answers 503 when the last write is older than stale_after_s or the store does not answer. Without a queue store the hub runs its jobs inside the API process, and this answers 200 with queue: in_process. The answer is cached for 10 seconds, so a burst of probes costs one read.
Responses
| Status | Description | Body |
|---|---|---|
200 | The worker ran within | WorkerHealth |
503 | The worker has not run within | WorkerHealth |
GET / v1/ capabilities
What this deployment can do
Says which of the hub's optional services this deployment runs, so a client offers only what will answer. Each flag reads the same setting the service itself checks. agent is false wherever createAgentSession answers 503 because the deployment lacks a model backend or the hub's own URL. coach is false wherever createAdvice and createCoachPlan answer 503. cloud_cpu and cloud_gpu say whether hosted work of that kind is open to every account. listHardwareTiers.hosting lists the owners it is open to beyond that. studio_stills says whether the hub draws every robot's still itself. predeploy_robots lists the robots a pre-deploy check runs on. The answer does not depend on the caller, so a client may cache it for a minute.
Responses
| Status | Description | Body |
|---|---|---|
200 | The flags. | Capabilities |
401 | Missing or invalid credentials. | Problem |
Schemas (3)
The schemas these operations reach before any other tag’s do. A type that links elsewhere is rendered on that tag’s page.
HealthResponse
| Field | Type | Description |
|---|---|---|
status | string | |
service | string | |
version | string | |
env | string | |
web_url | string | null | The web app's origin: the first of |
WorkerHealth
| Field | Type | Description |
|---|---|---|
ok | boolean | True when the status is 200. |
queue | string |
|
last_seen_s | number | null | Seconds since the worker last wrote its time. Null when it never has, when the store did not answer, or with |
stale_after_s | integer | The age past which the worker counts as stopped. |
detail | string | One sentence an operator reads. |
Capabilities
What this deployment runs (getCapabilities). Every flag is a fact about the deployment, the same for every caller.
| Field | Type | Description |
|---|---|---|
agent | boolean | The hub's agent can answer: a model backend is configured (the hub's Anthropic key, recorded turns, or workspace keys). The agent also knows the hub's own URL for its tools. False means |
coach | boolean | The Training Coach can diagnose and plan: a model backend is configured (the hub's Anthropic key, recorded responses, or workspace keys). False means |
cloud_cpu | boolean | Hosted CPU work (checks, CPU training, sim rollouts) is open to every account. That needs a configured Modal app. It also needs every owner to be hosted, or the monthly hosted allowance to be on. |
cloud_gpu | boolean | Hosted GPU work (GPU training, endpoints) is open to every account. That needs a configured Modal app and every owner to be hosted. Otherwise, the owners it is open to are |
studio_stills | string | Who draws a robot's still after its card is stored. |
predeploy_robots | array of string | The robot repos ( |