API Reference
Start a job run
/api/jobs/{id}/run
Creates a new job run and begins DAG execution using the job's snapshotted template YAML and pinned task versions (captured at job creation time). Optionally specify a subset of tasks to run.
Operation IDrunJob
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Request body
Content typeapplication/json
requestobject2 properties
tasksarray<string>Subset of task keys to run (omit to run all)
Array items
itemstringskip_depsbooleanWhen true and tasks is a non-empty array, run only the selected task keys without expanding their upstream depends_on tasks. Ignored when tasks is omitted or empty. Stored on the job run so resume behaves identically.
Success response body
201Job run created and started
Job run created and started
Content typeapplication/json
responseobject12 properties
idintegerjob_idintegerstatusstringstarted_atstring | null · date-timecompleted_atstring | null · date-timeduration_msinteger | nullerror_messagestring | nullselected_tasksstring | nullJSON-encoded array of task keys to run (null = all)
run_statestring | nullInternal DAG execution state (JSON)
skip_depsinteger | null1 when selected tasks should run without their upstream depends_on tasks; 0/null otherwise.
created_atstring · date-timeupdated_atstring · date-timeError responses
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}