REST & WebSocket API¶
All /v1 endpoints are gated by credential-bound rights when the server is
configured with principals (--principal / --auth-file) or a
legacy --token (kept as a single all-rights admin). With neither configured the
server runs open (dev mode). Every /v1 request/response also carries the
version handshake headers (X-N4C-Version, X-N4C-Api, X-N4C-Role) — see
Version compatibility & pipeline fingerprints.
Health & dashboard (no auth)¶
Method |
Path |
Returns |
|---|---|---|
GET |
|
|
GET |
|
|
GET |
|
|
GET |
|
the live dashboard (Web dashboard) |
Client API¶
Method |
Path |
Purpose |
|---|---|---|
POST |
|
submit a job → |
GET |
|
list jobs ( |
GET |
|
job status + aggregate |
GET |
|
tasks of a job |
GET |
|
event history ( |
GET |
|
artifacts of a job |
POST |
|
request cancellation |
GET |
|
server-wide counters → |
GET |
|
registered workers (+ version & divergence flag) |
POST |
|
upload an input artifact (multipart) |
GET |
|
download an artifact |
WS |
|
live events for one job ( |
WS |
|
global live feed across all jobs/workers ( |
Worker API¶
Method |
Path |
Purpose |
|---|---|---|
POST |
|
register, declare labels/capabilities/versions |
POST |
|
keep-alive; returns |
POST |
|
atomically claim the next eligible task |
POST |
|
mark a leased task running |
POST |
|
report progress |
POST |
|
upload a task output (model/logs/workspace) |
POST |
|
report success ( |
POST |
|
report failure (requeued if attempts remain) |
An incompatible protocol major is rejected with HTTP 426; an oversized JSON body with 413.