Nova API — /api/pipelines
The operations Nova tags public under /api/pipelines. Generated from reference-src/nova-openapi.json.
GET /api/pipelines
Operation id pipelines_list: in Python client.call("pipelines_list", …), on the command line stardelt api pipelines_list.
The pipelines the caller may see: their groups' pipelines, and every pipeline for an administrator. A pipeline without spec.ownerGroup is administrators-only. state is one of loading, paused, running, failed, succeeded, idle; loaded is false while Airflow has no DAG for a new pipeline yet. Answers Cache-Control: no-store.
Responses
| Code | Description |
|---|---|
200 | The visible pipelines, sorted by name |
401 | No token to sign in with |
502 | The scheduler or the cluster did not answer |
503 | No cluster connection, or the scheduler is not configured |
POST /api/pipelines
Operation id pipelines_create: in Python client.call("pipelines_create", …), on the command line stardelt api pipelines_create.
Schedule a statement or a published notebook: create a Pipeline for one of the caller's owner groups (runAs: pipeline-<group>), validated so the loader accepts it. A body gives exactly one of a non-empty sql and a notebook ({ name, objectVersion, params }) — both or neither is 400 give a statement, a notebook, a dbt run or a quality run. A body may instead give tasks ([{ name, sql | notebook | dbt | quality, dependsOn }], 1 to 30 tasks, each with exactly one source, at most 8 dependencies): tasks together with sql or notebook is 400 give a statement, a notebook or a task list; a task name outside ^[a-z0-9][a-z0-9_-]{0,62}$, a name used twice, more than 30 tasks, a dependency on itself or on a task of another pipeline, and a cycle are 400 with a sentence that names the task. Refusals, in this order: a name outside 1 to 40 lower-case letters, digits and dashes starting with a letter 400; a group the caller is not a member of 403 (you are not a member of the group <g> — administrators included); a group without a ready ServicePrincipal 409 with the principals route's message; an empty, over-20,000-character or NUL-carrying statement 400; a parameter name, a parameter count or value, or a ${…} placeholder the loader cannot fill 400; a notebook name outside ^[A-Za-z0-9][A-Za-z0-9._ -]{0,127}\.ipynb$ 400, more than 32 notebook parameters, a value over 256 characters or NUL, or a params JSON text over 4096 characters 400, and a version that is not in the store 400 that notebook version does not exist in group <g> (503 when NOVA_S3_* is unset, 502 when S3 does not answer); a retry, wait, time-limit or run-mode option out of range 400; a cron that is not five in-range fields or fires more often than every five minutes 400; an unknown IANA timezone 400; a name that already exists 409; more than ten creations per user per hour 429. options and params are optional: an omitted option keeps its default (1 retry after 5 minutes, a 120-minute time limit, Forbid); params are the statement's ${params.<name>} values, a notebook's values are in notebook.params. Airflow is not needed: the resource is the source of truth, and the answer is the new pipeline with loaded: false, state: "loading". In a stage whose NOVA_STAGE_KIND is prod, a body that schedules a notebook is refused with 400 "In production a notebook comes from Git. Deploy it with a bundle." unless it carries a bundle deploy stamp (provenance, or one already on the pipeline); other stages and statement schedules are unaffected. The audit line carries the statement's length, the cron and, for a notebook, the group, the file name and the pinned version — never the statement and never a parameter value. Answers Cache-Control: no-store.
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
description | string (nullable) | No | One line saying what the pipeline does (spec.description); at most 200 characters. Omitted or blank writes none. | ||
name | string | Yes | |||
notebook | object | No | A published notebook version to run instead of a statement. | ||
notebook.connection | string (nullable) | No | The Connection whose secret fields the task pod receives as CONN_<NAME>_<KEY> (the CRD's tasks[].connection). Omitted: the pod gets no connection variable. Nova checks the shape only; whether the connection exists, is Ready, is of this group and is in its usableBy is the loader's job, and its sentence is the one the task log shows. | ||
notebook.name | string | Yes | <group>/<name> is the object key; the group is the pipeline's ownerGroup, so a notebook of another group can never be named. | ||
notebook.objectVersion | string | Yes | The S3 object version, never a branch or a tag: exactly the bytes a person published. | ||
notebook.params | object (map of string) | No | Parameter values by name; at most 32, names [A-Za-z_][A-Za-z0-9_]{0,63}, values up to 256 characters. Written as the task's config.params JSON object string. | ||
notify | object | No | Who is told when a run ends (spec.notify). Omitted writes none; every name must be a destination of ownerGroup. | ||
notify.onFailure | array of string | No | Destinations told when the run fails, after the last retry. | ||
notify.onRecovered | array of string | No | Destinations told on the first success after a failure. | ||
notify.onSuccess | array of string | No | Destinations told when the run succeeds. | ||
options | object | No | Retries, the wait between them, the time limit and the run mode; omitted fields keep the defaults. | ||
options.backoffMinutes | integer (nullable) | No | The wait between attempts, 1 to 60 minutes. | format int64 | |
options.concurrency | string (nullable) | No | Forbid (one run at a time, the default) or Allow (runs side by side). | ||
options.retries | integer (nullable) | No | Extra attempts after a failure, 0 to 5. | format int64 | |
options.timeoutMinutes | integer (nullable) | No | The longest a whole run may take, 1 to 720 minutes. | format int64 | |
ownerGroup | string | Yes | |||
params | object (map of string) | No | Values for ${params.<name>} in the statement; at most 16. A notebook's values are in notebook.params, not here. | ||
provenance | object | No | Which bundle, target and commit this pipeline is deployed from (stardelt bundle deploy). | ||
provenance.bundle | string | Yes | The bundle's name: 3 to 40 lower-case letters, digits and dashes. | ||
provenance.expiresAt | string (nullable) | No | When the preview copy is due to be removed, RFC 3339. At most 31 days after the deploy. | ||
provenance.preview | string (nullable) | No | The preview this deploy belongs to (stardelt bundle deploy --preview ID). Omitted on a normal deploy; set together with expires_at. | ||
provenance.repository | string (nullable) | No | The bundle's repository as an https://host/path address, so a later stage can link the pull request that promotes a commit. Omitted when the bundle's checkout names none. | ||
provenance.revision | string (nullable) | No | The commit the bundle was read at: 7 to 64 hex digits, with -dirty appended when the working tree had uncommitted changes. Omitted when the bundle is not in a Git checkout. | ||
provenance.target | string | Yes | The target of the bundle: 1 to 32 lower-case letters, digits and dashes. | ||
publish | string | No | direct, wap, proposal | ||
schedule | object | No | A cron expression and its IANA zone; both required when a schedule object is sent. | ||
schedule.cron | string | Yes | |||
schedule.timezone | string | Yes | |||
sql | string | No | The statement to run; exactly one of this and notebook is given. | ||
tasks | array of object (nullable) | No | A whole task list instead of one run task: 1 to 30 tasks, each a statement, a pinned notebook, a dbt run or SQL checks, with dependencies. Exclusive with sql and notebook. | ||
tasks[].dbt | object (map of any) | No | A dbt run instead of a statement or a notebook: exactly one of the six. | ||
tasks[].dbt.batches | array of string (nullable) | No | 1 to 8 selectors, run in order (config.batches as the JSON array text). | ||
tasks[].dbt.project | string | Yes | A directory name under /opt/dbt/projects in the tool image. | ||
tasks[].dbt.select | string (nullable) | No | |||
tasks[].dbt.threads | integer (nullable) | No | 1 to 16; omitted is 4. | min 0; format int32 | |
tasks[].dbt.vars | object (map of string) (nullable) | No | |||
tasks[].dependsOn | array of string | No | Names of the tasks that must succeed first; at most 8, each a task of this list. | ||
tasks[].name | string | Yes | Unique within the pipeline: [a-z0-9][a-z0-9_-]{0,62} (the CRD also accepts capitals). | ||
tasks[].notebook | object | No | A published notebook version to run instead: exactly one of the six. | ||
tasks[].notebook.connection | string (nullable) | No | The Connection whose secret fields the task pod receives as CONN_<NAME>_<KEY> (the CRD's tasks[].connection). Omitted: the pod gets no connection variable. Nova checks the shape only; whether the connection exists, is Ready, is of this group and is in its usableBy is the loader's job, and its sentence is the one the task log shows. | ||
tasks[].notebook.name | string | Yes | <group>/<name> is the object key; the group is the pipeline's ownerGroup, so a notebook of another group can never be named. | ||
tasks[].notebook.objectVersion | string | Yes | The S3 object version, never a branch or a tag: exactly the bytes a person published. | ||
tasks[].notebook.params | object (map of string) | No | Parameter values by name; at most 32, names [A-Za-z_][A-Za-z0-9_]{0,63}, values up to 256 characters. Written as the task's config.params JSON object string. | ||
tasks[].python | object (map of any) | No | A published .py file to run instead. | ||
tasks[].python.file | string | Yes | The .py file name under the pipeline's ownerGroup, as notebooks_publish stored it. | ||
tasks[].python.objectVersion | string | Yes | The S3 object version, never a branch or a tag. | ||
tasks[].python.params | object (map of string) | No | The run's parameters, written as the task's config.params JSON object string. | ||
tasks[].quality | object | No | SQL assertions instead of a statement, a notebook or a dbt run: exactly one of the six. | ||
tasks[].quality.checks | array of object | Yes | 1 to 50 SQL assertions; a check passes when its query returns no rows. | ||
tasks[].quality.checks[].name | string | Yes | [A-Za-z0-9][A-Za-z0-9_-]{0,62} and unique within the task. | ||
tasks[].quality.checks[].severity | string (nullable) | No | error fails the run, warn only logs it; omitted is error. | ||
tasks[].quality.checks[].sql | string | Yes | The assertion: it passes when the query returns no rows. | ||
tasks[].sparkPipeline | object | No | A declared Spark graph instead of a statement, a notebook, a dbt run or SQL checks: exactly one of the six. | ||
tasks[].sparkPipeline.files | object (map of string) | No | The graph's files, relative path to text; at most 64 files of 64 KiB each, the whole graph at most 256 KiB. spark-pipeline.yml must be one of them. | ||
tasks[].sparkPipeline.fullRefresh | array of string (nullable) | No | Datasets to rebuild from scratch; 1 to 32 names. | ||
tasks[].sparkPipeline.project | string | Yes | The bundle directory that holds spark-pipeline.yml. | ||
tasks[].sparkPipeline.refresh | string (nullable) | No | incremental (the default) or full. | ||
tasks[].sql | string | No | The statement to run; exactly one of this, notebook, python, dbt, quality and sparkPipeline is given. | ||
tasks[].writes | array of string | No | The tables a sql, spark-pipeline or notebook task writes, as catalog.schema.table; at most 16. spec.publish: wap audits exactly these tables. | ||
triggers | array of object (nullable) | No | Tables whose update starts the run (spec.triggers). At most one entry, 1 to 10 tables, and not together with schedule; omitted means none. | ||
triggers[].mode | string (nullable) | No | |||
triggers[].tablesUpdated | array of string | No | |||
viewers | array of string (nullable) | No | Groups that may read the pipeline without being members (spec.viewers). At most 16, each a group name; omitted writes none. A bundle's pipeline file carries it. |
Responses
| Code | Description |
|---|---|
201 | The resource as written |
400 | The name, the statement, the cron or the timezone is invalid |
401 | No token to sign in with |
403 | The caller is not a member of the owner group |
409 | No ready principal for the group, or the name is taken |
429 | More than ten creations in the last hour |
502 | The cluster did not answer |
503 | No cluster connection |
POST /api/pipelines/check
Operation id pipelines_check: in Python client.call("pipelines_check", …), on the command line stardelt api pipelines_check.
What the engine says about a statement, without running it: Nova fills the statement's ${run.date} (today, UTC), ${run.id} (check) and ${params.<name>} placeholders and sends EXPLAIN <statement> to the engine as the caller, under the source nova-schedule-check. It never sends EXPLAIN ANALYZE and never the statement itself. checked: false means this kind of statement cannot be checked here (only select, with, insert, merge, delete, update, values and create … as … are). A refused statement answers 200 with ok: false and the engine's sentence; an engine that does not answer is 502. Refusals before the engine: an empty, over-20,000-character or NUL-carrying statement 400, a parameter table or a placeholder as on create 400. Answers Cache-Control: no-store.
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
params | object (map of string) | No | The parameters the statement's ${params.<name>} placeholders are filled with. | ||
sql | string | Yes |
Responses
| Code | Description |
|---|---|
200 | The engine's verdict, or that this statement cannot be checked |
400 | The statement, a parameter or a placeholder is invalid |
401 | No token to sign in with |
502 | The query engine is not reachable |
POST /api/pipelines/preview-schedule
Operation id pipelines_preview_schedule: in Python client.call("pipelines_preview_schedule", …), on the command line stardelt api pipelines_preview_schedule.
The next fire times of a cron in its zone, RFC 3339 with that zone's offset (for example 2026-10-21T03:00:00+02:00), so the Schedule dialog can show what a cadence means before it is saved. A field or a zone as on create (400 with the same sentences); count is 1 to 10, 5 when omitted. Like croniter, a day matches when both day fields are restricted and either matches, and when one is unrestricted and the other matches. A wall-clock time the zone skips at a DST jump is not a run; a time that happens twice is answered with its first occurrence. A cron that can never fire answers fewer runs (at most 366 days are searched), not an error. Answers Cache-Control: no-store.
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
count | integer (nullable) | No | How many runs to list, 1 to 10; 5 when omitted. | min 0 | |
cron | string | Yes | |||
timezone | string | Yes |
Responses
| Code | Description |
|---|---|
200 | The next runs in the schedule's zone |
400 | The cron, the timezone or the count is invalid |
401 | No token to sign in with |
GET /api/pipelines/principals
Operation id pipelines_principals: in Python client.call("pipelines_principals", …), on the command line stardelt api pipelines_principals.
The caller's own groups and the pipeline principal of each. principal is pipeline-<group> when a ServicePrincipal of that name with spec.ownerGroup equal to the group exists; ready is its status.ready. message is null when it is ready, otherwise the Ready condition's message (or no status yet), and for a group without a principal the ServicePrincipal to apply (on a make install platform, the make sync-principal NAME=pipeline-<group> GROUP=<group> command). A group without a ready principal cannot schedule. Answers Cache-Control: no-store.
Responses
| Code | Description |
|---|---|
200 | One entry per group of the caller, sorted by group |
401 | No token to sign in with |
502 | The cluster did not answer |
503 | No cluster connection |
POST /api/pipelines/validate
Operation id pipelines_validate: in Python client.call("pipelines_validate", …), on the command line stardelt api pipelines_validate.
Check a pipeline document without writing it: the body is the body of pipelines_create (the document stardelt apply reads). It runs every rule a create runs (the name, the caller's own group, the group's ready principal, exactly one of a statement and a notebook with the rules of its kind, the options, the schedule) and then looks at the name: free means create; a pipeline Nova wrote that the caller may act on, in the same group, means update; a pipeline written outside Nova, someone else's, or in another group is a problem. A body may instead give tasks ([{ name, sql | notebook, dependsOn }], 1 to 30 tasks, each with exactly one of the two, at most 8 dependencies): tasks together with sql or notebook is 400 give a statement, a notebook or a task list; a task name outside ^[a-z0-9][a-z0-9_-]{0,62}$, a name used twice, more than 30 tasks, a dependency on itself or on a task of another pipeline, and a cycle are 400 with a sentence that names the task. A rule that refuses is an answer, ok: false with one sentence in errors, status 200; nothing is written and no creation slot is taken. An accepted document with a schedule lists its next five fire times. In a stage whose NOVA_STAGE_KIND is prod, a body that schedules a notebook is refused with ok: false at 200 ("In production a notebook comes from Git. Deploy it with a bundle.") unless it carries a bundle deploy stamp (provenance, or one already on the pipeline); other stages and statement schedules are unaffected. A cluster or notebook store that does not answer is 502 or 503 as on create. Answers Cache-Control: no-store.
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
description | string (nullable) | No | One line saying what the pipeline does (spec.description); at most 200 characters. Omitted or blank writes none. | ||
name | string | Yes | |||
notebook | object | No | A published notebook version to run instead of a statement. | ||
notebook.connection | string (nullable) | No | The Connection whose secret fields the task pod receives as CONN_<NAME>_<KEY> (the CRD's tasks[].connection). Omitted: the pod gets no connection variable. Nova checks the shape only; whether the connection exists, is Ready, is of this group and is in its usableBy is the loader's job, and its sentence is the one the task log shows. | ||
notebook.name | string | Yes | <group>/<name> is the object key; the group is the pipeline's ownerGroup, so a notebook of another group can never be named. | ||
notebook.objectVersion | string | Yes | The S3 object version, never a branch or a tag: exactly the bytes a person published. | ||
notebook.params | object (map of string) | No | Parameter values by name; at most 32, names [A-Za-z_][A-Za-z0-9_]{0,63}, values up to 256 characters. Written as the task's config.params JSON object string. | ||
notify | object | No | Who is told when a run ends (spec.notify). Omitted writes none; every name must be a destination of ownerGroup. | ||
notify.onFailure | array of string | No | Destinations told when the run fails, after the last retry. | ||
notify.onRecovered | array of string | No | Destinations told on the first success after a failure. | ||
notify.onSuccess | array of string | No | Destinations told when the run succeeds. | ||
options | object | No | Retries, the wait between them, the time limit and the run mode; omitted fields keep the defaults. | ||
options.backoffMinutes | integer (nullable) | No | The wait between attempts, 1 to 60 minutes. | format int64 | |
options.concurrency | string (nullable) | No | Forbid (one run at a time, the default) or Allow (runs side by side). | ||
options.retries | integer (nullable) | No | Extra attempts after a failure, 0 to 5. | format int64 | |
options.timeoutMinutes | integer (nullable) | No | The longest a whole run may take, 1 to 720 minutes. | format int64 | |
ownerGroup | string | Yes | |||
params | object (map of string) | No | Values for ${params.<name>} in the statement; at most 16. A notebook's values are in notebook.params, not here. | ||
provenance | object | No | Which bundle, target and commit this pipeline is deployed from (stardelt bundle deploy). | ||
provenance.bundle | string | Yes | The bundle's name: 3 to 40 lower-case letters, digits and dashes. | ||
provenance.expiresAt | string (nullable) | No | When the preview copy is due to be removed, RFC 3339. At most 31 days after the deploy. | ||
provenance.preview | string (nullable) | No | The preview this deploy belongs to (stardelt bundle deploy --preview ID). Omitted on a normal deploy; set together with expires_at. | ||
provenance.repository | string (nullable) | No | The bundle's repository as an https://host/path address, so a later stage can link the pull request that promotes a commit. Omitted when the bundle's checkout names none. | ||
provenance.revision | string (nullable) | No | The commit the bundle was read at: 7 to 64 hex digits, with -dirty appended when the working tree had uncommitted changes. Omitted when the bundle is not in a Git checkout. | ||
provenance.target | string | Yes | The target of the bundle: 1 to 32 lower-case letters, digits and dashes. | ||
publish | string | No | direct, wap, proposal | ||
schedule | object | No | A cron expression and its IANA zone; both required when a schedule object is sent. | ||
schedule.cron | string | Yes | |||
schedule.timezone | string | Yes | |||
sql | string | No | The statement to run; exactly one of this and notebook is given. | ||
tasks | array of object (nullable) | No | A whole task list instead of one run task: 1 to 30 tasks, each a statement, a pinned notebook, a dbt run or SQL checks, with dependencies. Exclusive with sql and notebook. | ||
tasks[].dbt | object (map of any) | No | A dbt run instead of a statement or a notebook: exactly one of the six. | ||
tasks[].dbt.batches | array of string (nullable) | No | 1 to 8 selectors, run in order (config.batches as the JSON array text). | ||
tasks[].dbt.project | string | Yes | A directory name under /opt/dbt/projects in the tool image. | ||
tasks[].dbt.select | string (nullable) | No | |||
tasks[].dbt.threads | integer (nullable) | No | 1 to 16; omitted is 4. | min 0; format int32 | |
tasks[].dbt.vars | object (map of string) (nullable) | No | |||
tasks[].dependsOn | array of string | No | Names of the tasks that must succeed first; at most 8, each a task of this list. | ||
tasks[].name | string | Yes | Unique within the pipeline: [a-z0-9][a-z0-9_-]{0,62} (the CRD also accepts capitals). | ||
tasks[].notebook | object | No | A published notebook version to run instead: exactly one of the six. | ||
tasks[].notebook.connection | string (nullable) | No | The Connection whose secret fields the task pod receives as CONN_<NAME>_<KEY> (the CRD's tasks[].connection). Omitted: the pod gets no connection variable. Nova checks the shape only; whether the connection exists, is Ready, is of this group and is in its usableBy is the loader's job, and its sentence is the one the task log shows. | ||
tasks[].notebook.name | string | Yes | <group>/<name> is the object key; the group is the pipeline's ownerGroup, so a notebook of another group can never be named. | ||
tasks[].notebook.objectVersion | string | Yes | The S3 object version, never a branch or a tag: exactly the bytes a person published. | ||
tasks[].notebook.params | object (map of string) | No | Parameter values by name; at most 32, names [A-Za-z_][A-Za-z0-9_]{0,63}, values up to 256 characters. Written as the task's config.params JSON object string. | ||
tasks[].python | object (map of any) | No | A published .py file to run instead. | ||
tasks[].python.file | string | Yes | The .py file name under the pipeline's ownerGroup, as notebooks_publish stored it. | ||
tasks[].python.objectVersion | string | Yes | The S3 object version, never a branch or a tag. | ||
tasks[].python.params | object (map of string) | No | The run's parameters, written as the task's config.params JSON object string. | ||
tasks[].quality | object | No | SQL assertions instead of a statement, a notebook or a dbt run: exactly one of the six. | ||
tasks[].quality.checks | array of object | Yes | 1 to 50 SQL assertions; a check passes when its query returns no rows. | ||
tasks[].quality.checks[].name | string | Yes | [A-Za-z0-9][A-Za-z0-9_-]{0,62} and unique within the task. | ||
tasks[].quality.checks[].severity | string (nullable) | No | error fails the run, warn only logs it; omitted is error. | ||
tasks[].quality.checks[].sql | string | Yes | The assertion: it passes when the query returns no rows. | ||
tasks[].sparkPipeline | object | No | A declared Spark graph instead of a statement, a notebook, a dbt run or SQL checks: exactly one of the six. | ||
tasks[].sparkPipeline.files | object (map of string) | No | The graph's files, relative path to text; at most 64 files of 64 KiB each, the whole graph at most 256 KiB. spark-pipeline.yml must be one of them. | ||
tasks[].sparkPipeline.fullRefresh | array of string (nullable) | No | Datasets to rebuild from scratch; 1 to 32 names. | ||
tasks[].sparkPipeline.project | string | Yes | The bundle directory that holds spark-pipeline.yml. | ||
tasks[].sparkPipeline.refresh | string (nullable) | No | incremental (the default) or full. | ||
tasks[].sql | string | No | The statement to run; exactly one of this, notebook, python, dbt, quality and sparkPipeline is given. | ||
tasks[].writes | array of string | No | The tables a sql, spark-pipeline or notebook task writes, as catalog.schema.table; at most 16. spec.publish: wap audits exactly these tables. | ||
triggers | array of object (nullable) | No | Tables whose update starts the run (spec.triggers). At most one entry, 1 to 10 tables, and not together with schedule; omitted means none. | ||
triggers[].mode | string (nullable) | No | |||
triggers[].tablesUpdated | array of string | No | |||
viewers | array of string (nullable) | No | Groups that may read the pipeline without being members (spec.viewers). At most 16, each a group name; omitted writes none. A bundle's pipeline file carries it. |
Responses
| Code | Description |
|---|---|
200 | The verdict: accepted (with the action) or the reason it is not |
401 | No token to sign in with |
502 | The cluster did not answer |
503 | No cluster connection |