Skip to main content

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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)

Request body

FieldTypeRequiredDefaultDescriptionConstraints
paramsobject (map of string) (nullable)No
runDatestring (nullable)No

Responses

CodeDescription
201The new run, queued
400The body is not JSON, the run date is not YYYY-MM-DD, or a parameter is refused
401No token to sign in with
404No such pipeline for this caller
409The pipeline is not loaded, is paused, or already has an active run
429More than ten runs were started in the last minute
502The scheduler or the cluster did not answer
503No 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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id, for example manual__2026-10-20T07:23:50.608876+00:00

Responses

CodeDescription
200The run and its tasks
401No token to sign in with
404No such pipeline for this caller, or no such run
502The scheduler or the cluster did not answer
503No 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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id

Responses

CodeDescription
201The new run, queued
401No token to sign in with
403The caller is not the owner group, or is an agent principal
404No such pipeline for this caller, or no such run
409The 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
502The scheduler or the cluster did not answer
503No 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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id

Responses

CodeDescription
200The checks of the run
401No token to sign in with
404No such pipeline for this caller, or no such run
502The scheduler or the cluster did not answer
503No 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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id, for example scheduled__2026-11-14T03:00:00+00:00

Responses

CodeDescription
200The run's statements, slowest first
401No token to sign in with
404No such pipeline for this caller
503No 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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id

Request body

FieldTypeRequiredDefaultDescriptionConstraints
reasonstringYesWhy the change is refused: shown in the audit record and the run's note.

Responses

CodeDescription
201The new run, queued
400The reason is empty or longer than 1000 characters
401No token to sign in with
403The caller is not the owner group, or is an agent principal
404No such pipeline for this caller, or no such run
409The pipeline publishes directly, the run has not finished or left no audit branch, or the reject DAG is not loaded
502The scheduler or the cluster did not answer
503No 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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id

Responses

CodeDescription
200The run, with its failed tasks cleared for another attempt
401No token to sign in with
404No such pipeline for this caller, or no such run
409The run is not failed, the pipeline is paused, or there is nothing to retry
502The scheduler or the cluster did not answer
503No 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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id

Responses

CodeDescription
200The run, now failed
401No token to sign in with
404No such pipeline for this caller, or no such run
409The run is not active
502The scheduler or the cluster did not answer
503No 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

NameInTypeRequiredDescription
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id
task_idpathstringYesTask id
tokenquerystringNoContinuation token from a previous answer
tryqueryintegerNoAttempt number; defaults to the task's last try

Responses

CodeDescription
200The log page
400try is not a positive number
401No token to sign in with
404No such pipeline for this caller, no such run, or no such task
502The scheduler or the cluster did not answer
503No 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

NameInTypeRequiredDescription
downloadquerybooleanNoAnswer as a file attachment
namepathstringYesPipeline name
namespacepathstringYesThe Pipeline's namespace (Nova's own)
run_idpathstringYesAirflow's run id
task_idpathstringYesTask id: 1 to 64 letters, digits, underscores or dashes

Responses

CodeDescription
200The executed notebook, as the run wrote it
400The task id is not 1 to 64 letters, digits, underscores or dashes, or download is not true or false
401No token to sign in with
404No such pipeline for this caller, a pipeline without a group, or no executed copy for this task
413The executed notebook is larger than 25 MiB
502The notebook store did not answer
503No cluster connection, or notebook storage is not configured