API Reference
Create a job from a template
POST
/api/job-templates/{id}/jobs
Instantiates a job by snapshotting the template's current YAML and pinning each referenced task to its current DB version. The job is then independent of future changes to the template or tasks.
Validates that: - All required connectors are mapped and types match. - All tasks referenced in the template DAG exist in the database.
Operation IDcreateJobFromTemplate
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Request body
This request body is required.
Content typeapplication/json
requestobject3 properties
namestringrequireddescriptionstringconnector_mappingobjectrequiredMap of template connector name to connector ID
Additional properties
valueintegerSuccess response body
201Job created
Job created
Content typeapplication/json
responseobject9 properties
idintegerjob_template_idintegernamestringdescriptionstring | nullconnector_mappingstringJSON-encoded map of template connector name to connector ID
statusstringoverridden_task_keysarray<string>DAG node keys with a per-job task YAML override. Present on GET detail.
Array items
itemstringcreated_atstring · date-timeupdated_atstring · date-timeError responses
400Validation error
Validation error
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "VALIDATION_ERROR",
"message": "Invalid input"
}404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}