application/json and respond with application/json unless noted.
| Method | Path | What |
|---|---|---|
GET | /healthz | Liveness check + node id. |
POST | /v1/enroll | Sign an enrollment receipt. |
GET | /v1/nodes | List enrolled nodes by role. |
POST | /v1/execute | Dispatch a task; SSE stream. |
POST | /v1/tool | Run a capability-scoped tool. |
POST | /v1/mesh-token | Mint a join token. |
local accepts any
non-empty token but is loopback-only.