The API
The page is built on a JSON API you can call too, with the same token (Authorization: Bearer ...):
| Route | Returns |
|---|---|
GET /v1/clients | The clients you may see: id, name, store names, the stores you may acknowledge in (acknowledge) and whose run logs you may read (logs), and the links.logs URL. Opens no database. |
GET /v1/me | Who you are: name, recorded_as (what an acknowledgement records) and the clients you may acknowledge in |
POST /v1/login | A console user's sign-in, {user, password}: a session {token, expires_at, name} (needs no token) |
GET /v1/clients/C/overview | Stores (reachable, pending migrations), jobs and scopes counted by health with failed_runs (jobs whose latest run failed where no batch shows it), attention (how many items need a person) and acknowledged (each card's acknowledged items) |
GET /v1/clients/C/job-summaries | A page of the jobs, each once, the worst first: health, scopes by health now and how many are acknowledged, last_run, its runs and rows in since–until, stores; with total and counts (each health's). Filters: job (exact), health, filter (job, store), since, until; sort (health, job, last, runs), order, limit, offset |
GET /v1/clients/C/jobs | A page of the jobs and scopes, newest batch first: health, latest batch, last success, the last 24 hours, the issue, its ack; with total and counts (each health's, before the health filter). Filters: job (exact), health, q (text in the job, scope or store), filter (job, scope, store), store, since, until; sort (last, job, health, duration, rows, store), order (asc, desc), limit (up to 500, default 50), offset |
GET /v1/clients/C/jobs/JOB/batches | A job's batches, newest first. Filters: store, scope (scope=: the unscoped batches), status, limit |
GET /v1/clients/C/batches/JOB_ID | One batch: timeline, pinned config, outputs, rows not applied, its problem, ack and commands. Filters: store, job |
GET /v1/clients/C/attention | A page of what needs a person (acked=no, the default), what was acknowledged (yes) or both (all), each with its commands; with total, counts (each kind's), needs_attention, acknowledged and jobs (per job, the command that acknowledges its items in one go). Filters: kind (failed, held, rejected, run, other), filter (job, scope, store, error), since, until, limit, offset |
GET /v1/clients/C/leases | Every lease: job, token, holder, holder_run (the holder's run id), epoch, expiry. Filters: filter (job, token, holder, store; a job-wide lease's token is empty) |
GET /v1/clients/C/runs | A page of the serve runs of stores that are serve queues, newest first, with total. Filters: job, filter (job, run, caller, store, error), status, since, until; sort (queued, job, caller, status, run), order (asc, desc), limit, offset |
GET /v1/clients/C/job-runs | A page of the jobs' runs, newest first, with total and each status's counts; each run's log (its log file's host, path, status, sizes and counts) where you may read its store's logs, else null. Filters: job (exact), q (part of the name), filter (job, run, store, error), status (failed, succeeded, skipped, busy), since, until; sort (started, job, status, duration), order, limit, offset |
GET /v1/clients/C/job-runs/RUN_ID | One run: what failed in it (failures: item, job ids, error), its batches' totals and outputs, its ack, its log (as on the list), and the commands that settle them. ?store= (with several stores), ?job= (when two jobs have the run id) |
GET /v1/clients/C/job-runs/RUN_ID/batches | A page of the batches the run made or resumed, newest first (resumed marks the others), with total and each status's counts. ?status=, limit, offset |
GET /v1/clients/C/job-runs/RUN_ID/rows | The rows its batches did not apply (at most limit, 500; never their values) and its rejections: rejected rows grouped by output, tag and error code |
GET /v1/clients/C/jobs/JOB | One job: its runs (counts, success rate, median and p95 duration, the newest) and batches (totals, outputs, rejections) started in since–until, and its scopes' health now. ?store= narrows it to one store |
GET /v1/clients/C/job-runs/RUN_ID/log | A page of the run's own log file: log (where it is: host, path, status, sizes, counts), readable, and its lines (the JSON lines; line: a finished file's line number, from 1), oldest first; the last lines by default, or those before or after a cursor (the page's before and after). Filters: level (error, warning, info, debug, comma-separated), q (text in a message), job_id (one batch), limit; store, job. Not readable from this host: reason (missing, refused, unreadable) and message. 403 if log_principals does not list you; 404 logs-not-set for a store without logs.dir, no-log for a run without one |
GET /v1/clients/C/job-runs/RUN_ID/log/download | The file: .log.gz once the run ended, else its JSON lines |
POST /v1/clients/C/acks | Acknowledge {store, target, note} (a batch's job id or a run's id), or a job's items {store, job, all: true, note}: 403 if ack_principals does not list you, 409 if it needs no one, 501 for a DuckDB store |
DELETE /v1/clients/C/acks/TARGET | Undo it (?store=&job=); DELETE /v1/clients/C/acks?store=&job=JOB&all=1 undoes every acknowledgement of a job |
GET /openapi.json | This API, as OpenAPI 3.1 |
GET /healthz, /readyz | Liveness (no login) |
since and until take an ISO date (2026-11-28, midnight UTC; for until, that whole day is in) or a time
(2026-11-28T09:30:00Z, or with an offset).
filter=FIELD:OP:VALUE may repeat (at most 10, all must hold, case aside): OP is contains, not_contains,
equals, not_equals or starts_with, and the value may hold : (filter=caller:equals:key:ops).
Only the filters listed are accepted (400 otherwise); limit is 1 to 500. A client with several stores needs
store= on the batch routes.
curl -s -H "Authorization: Bearer $KEY" http://127.0.0.1:8090/v1/clients/acme/jobs | jq '.jobs[] | {job, scope, health}'