v51

latestOpenAPI 3.0.0GPL-3.0raw.githubusercontent.com2026-08-01199241439.9 KB
dag-runs

Create and execute a DAG-run from inline spec

Creates a DAG-run directly from a provided DAG specification (YAML) and starts execution.

This endpoint does not require a pre-existing DAG file; the supplied spec is parsed and validated similarly to /dags/validate, and the run is executed immediately if valid.

post/dag-runs

Query parameters

remoteNodestring

name of the remote node

Request body

specstring required

DAG specification in YAML format

namestring

Optional name to use when the spec omits a name

profilestring

Runtime profile override. Empty string means no profile.

paramsstring

Parameters to pass to the DAG-run in JSON format

dagRunIdstring

Optional ID for the DAG-run; if omitted, a new one is generated

singletonboolean

If true, prevent starting if a DAG with the same name is already running (returns 409)

labelsstring[]

Additional labels to apply to the DAG-run (format: key=value or key-only). Merged with labels defined in the DAG spec. Mutually exclusive with deprecated tags; the server returns HTTP 400 if both are set.

tagsstring[]

Deprecated alias for Labels. Additional labels to apply to the DAG-run (format: key=value or key-only). Merged with labels defined in the DAG spec. Mutually exclusive with labels; the server returns HTTP 400 if both are set.

Example request

{
  "dagRunId": "latest"
}

Response

Run created and started

dagRunIdstring required

Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.

Example response

{
  "dagRunId": "latest"
}