Nova API — /api/pipelines runs
The operations Nova tags public under /api/pipelines/{id}/runs. Generated from reference-src/nova-openapi.json.
POST /api/pipelines/{namespace}/{name}/runs
Operation id pipelines_run_trigger: in Python client.call("pipelines_run_trigger", …), on the command line stardelt api pipelines_run_trigger.
Start a run now. A viewer (spec.viewers) may run the owner's statement and stop its runs: running cannot change what the pipeline does. Nova refuses instead of passing Airflow's silent behaviour on: a pipeline the scheduler has not loaded yet answers 409, a paused pipeline 409 (Airflow would create a run that waits queued until someone resumes), more than ten starts per user per minute 429, and a Forbid or Replace pipeline whose latest five runs include a queued or running one 409 (Allow skips that check). The body is optional: runDate (a YYYY-MM-DD calendar date, past or future) applies to this run only, as does params, this run's values of the schedule's ${params.<name>} placeholders (at most 16, lower-case names, values up to 256 characters); the stored schedule never changes, and neither value is audited. logicalDate stays now, UTC, with microseconds so two starts in one second are two runs and the run still has tasks — the date travels as Airflow's dag_run.conf instead. An absent body or {} starts a run for now with the schedule's parameters, exactly as before. Every attempt that reaches the run logic, including a refusal, writes one audit line without note text. Answers Cache-Control: no-store.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
params | object (map of string) (nullable) | No | |||
runDate | string (nullable) | No |
Responses
| Code | Description |
|---|---|
201 | The new run, queued |
400 | The body is not JSON, the run date is not YYYY-MM-DD, or a parameter is refused |
401 | No token to sign in with |
404 | No such pipeline for this caller |
409 | The pipeline is not loaded, is paused, or already has an active run |
429 | More than ten runs were started in the last minute |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
GET /api/pipelines/{namespace}/{name}/runs/{run_id}
Operation id pipelines_run_get: in Python client.call("pipelines_run_get", …), on the command line stardelt api pipelines_run_get.
One run of a pipeline with its task instances. The run id is looked up through this pipeline's DAG id, so a run id of another pipeline answers 404. Answers Cache-Control: no-store.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id, for example manual__2026-10-20T07:23:50.608876+00:00 |
Responses
| Code | Description |
|---|---|
200 | The run and its tasks |
401 | No token to sign in with |
404 | No such pipeline for this caller, or no such run |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
POST /api/pipelines/{namespace}/{name}/runs/{run_id}/approve
Operation id pipelines_run_approve: in Python client.call("pipelines_run_approve", …), on the command line stardelt api pipelines_run_approve.
Publish a proposal's branch: starts a run of the pipeline's <dag>__approve DAG whose conf names the branch, so the pipeline's own principal does the Iceberg commit and its stale-main refusal still applies. The caller must be the owner group or an administrator (403), and must be a person: an agent principal is refused with 403. The pipeline must be publish: wap or proposal (409), the run must have finished, must have succeeded and must still hold its audit branch (409), and every error-severity quality check must have reported a pass (409, naming the checks: a declared check with no log line did not report and does not pass). Answers 201 with the new run, queued.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id |
Responses
| Code | Description |
|---|---|
201 | The new run, queued |
401 | No token to sign in with |
403 | The caller is not the owner group, or is an agent principal |
404 | No such pipeline for this caller, or no such run |
409 | The pipeline publishes directly, the run has not finished, did not succeed or left no audit branch, a check failed or did not report, or the approve DAG is not loaded |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
GET /api/pipelines/{namespace}/{name}/runs/{run_id}/checks
Operation id pipelines_run_checks: in Python client.call("pipelines_run_checks", …), on the command line stardelt api pipelines_run_checks.
Every check a run's quality tasks declare, with its verdict: the rows the assertion returned (0 is a pass) and the severity, read from the task's log line check <name>: <error|warn>, <n> row(s). A check whose task has not run, or whose line is not in the log yet, answers rows: null, passed: null. warn checks with rows never fail the run. The same visibility rule as the run (404 for another group's pipeline).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id |
Responses
| Code | Description |
|---|---|
200 | The checks of the run |
401 | No token to sign in with |
404 | No such pipeline for this caller, or no such run |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
GET /api/pipelines/{namespace}/{name}/runs/{run_id}/queries
Operation id pipelines_run_queries: in Python client.call("pipelines_run_queries", …), on the command line stardelt api pipelines_run_queries.
The statements one run sent to the query engine, slowest first, read from the pipeline= and run= client tags the pipeline loader writes. Access is the pipeline's (load_visible), not the query log's owner rule: these statements ran as the pipeline's service principal, so the query-log scope would hide them from the person who can see the run. Each answers taskId, startedAt, wallMs, executionMs, inputBytes, inputRows and the statement; with NOVA_QUERY_LOG_REDACT_LITERALS=1 every statement shows '?' in place of its string literals. Answers Cache-Control: no-store.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id, for example scheduled__2026-11-14T03:00:00+00:00 |
Responses
| Code | Description |
|---|---|
200 | The run's statements, slowest first |
401 | No token to sign in with |
404 | No such pipeline for this caller |
503 | No cluster connection, or the state store is not configured |
POST /api/pipelines/{namespace}/{name}/runs/{run_id}/reject
Operation id pipelines_run_reject: in Python client.call("pipelines_run_reject", …), on the command line stardelt api pipelines_run_reject.
Reject a proposal: starts a run of the pipeline's <dag>__reject DAG whose conf names the branch and the reviewer's reason, so the pipeline's own principal drops the audit branch now instead of at its expiry. The caller must be the owner group or an administrator (403), and must be a person: an agent principal is refused with 403. The pipeline must be publish: wap or proposal (409); the reason must be 1 to 1000 characters (400). The run must have finished and must still hold its audit branch (409). A failed quality check does not block a rejection. Answers 201 with the new run, queued.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id |
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
reason | string | Yes | Why the change is refused: shown in the audit record and the run's note. |
Responses
| Code | Description |
|---|---|
201 | The new run, queued |
400 | The reason is empty or longer than 1000 characters |
401 | No token to sign in with |
403 | The caller is not the owner group, or is an agent principal |
404 | No such pipeline for this caller, or no such run |
409 | The pipeline publishes directly, the run has not finished or left no audit branch, or the reject DAG is not loaded |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
POST /api/pipelines/{namespace}/{name}/runs/{run_id}/retry
Operation id pipelines_run_retry: in Python client.call("pipelines_run_retry", …), on the command line stardelt api pipelines_run_retry.
Retry the failed tasks of a run, in the same run: the run keeps its id, date and parameters, and the tasks that already succeeded are not repeated (Airflow's run-scoped clear). A viewer (spec.viewers) may retry, as it may run and stop. A paused pipeline, a run that is not failed, and a run with no failed tasks are refused with 409. The run id is looked up through this pipeline's DAG id first: a run id of another pipeline answers 404 and nothing is cleared. Answers the fresh RunView and Cache-Control: no-store. Every attempt is audited, including a refusal.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id |
Responses
| Code | Description |
|---|---|
200 | The run, with its failed tasks cleared for another attempt |
401 | No token to sign in with |
404 | No such pipeline for this caller, or no such run |
409 | The run is not failed, the pipeline is paused, or there is nothing to retry |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
POST /api/pipelines/{namespace}/{name}/runs/{run_id}/stop
Operation id pipelines_run_stop: in Python client.call("pipelines_run_stop", …), on the command line stardelt api pipelines_run_stop.
Stop a run: mark it failed. A viewer (spec.viewers) may stop a run, as it may start one. This is not a cancel — work already in flight can finish and commit its side effects, so the answer promises only that the run is marked failed. The run id is looked up through this pipeline's DAG id first: a run id of another pipeline answers 404 and is never patched. A run that is not queued or running answers 409 and is not patched. Answers the fresh RunView and Cache-Control: no-store. The attempt is audited, including a refusal.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id |
Responses
| Code | Description |
|---|---|
200 | The run, now failed |
401 | No token to sign in with |
404 | No such pipeline for this caller, or no such run |
409 | The run is not active |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
GET /api/pipelines/{namespace}/{name}/runs/{run_id}/tasks/{task_id}/logs
Operation id pipelines_run_task_logs: in Python client.call("pipelines_run_task_logs", …), on the command line stardelt api pipelines_run_task_logs.
One page of a task's log: at most 2000 lines and 512 KiB, ANSI escapes removed, the ::group:: source-details block dropped — its marker, the internal object-store path it wraps and its ::endgroup:: (they are never returned). A failed task's line is followed by the exception the scheduler recorded (ExcType: message) and up to 20 of its stack frames, each with the file's last path segment; they count against the same caps. try defaults to the task's last attempt; token is the nextToken of the previous answer. Every read writes one audit line with user, pipeline, run and task — never the content. Answers Cache-Control: no-store.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id |
task_id | path | string | Yes | Task id |
token | query | string | No | Continuation token from a previous answer |
try | query | integer | No | Attempt number; defaults to the task's last try |
Responses
| Code | Description |
|---|---|
200 | The log page |
400 | try is not a positive number |
401 | No token to sign in with |
404 | No such pipeline for this caller, no such run, or no such task |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
GET /api/pipelines/{namespace}/{name}/runs/{run_id}/tasks/{task_id}/notebook
Operation id pipelines_run_task_notebook: in Python client.call("pipelines_run_task_notebook", …), on the command line stardelt api pipelines_run_task_notebook.
The executed copy of one notebook task run: the notebook with its outputs and tracebacks, as the run wrote it. That copy is the run's log. The same visibility rule as the run (404 for another group's pipeline), the same audit line as a log read, and Cache-Control: no-store. download=true also names the file <pipeline>-<task>.ipynb in Content-Disposition.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
download | query | boolean | No | Answer as a file attachment |
name | path | string | Yes | Pipeline name |
namespace | path | string | Yes | The Pipeline's namespace (Nova's own) |
run_id | path | string | Yes | Airflow's run id |
task_id | path | string | Yes | Task id: 1 to 64 letters, digits, underscores or dashes |
Responses
| Code | Description |
|---|---|
200 | The executed notebook, as the run wrote it |
400 | The task id is not 1 to 64 letters, digits, underscores or dashes, or download is not true or false |
401 | No token to sign in with |
404 | No such pipeline for this caller, a pipeline without a group, or no executed copy for this task |
413 | The executed notebook is larger than 25 MiB |
502 | The notebook store did not answer |
503 | No cluster connection, or notebook storage is not configured |