API Reference
Trigger a task run
POST
/api/runs/trigger/{taskId}
Creates a new run for the specified task and starts execution.
Operation IDtriggerRun
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
taskIdintegerrequiredTask ID to run
Request body
Content typeapplication/json
requestobject2 properties
argumentsobjectRuntime arguments passed to the task
Additional properties are allowed.
connector_mappingobjectMap of connector slot name to connector ID
Additional properties
valueintegerSuccess response body
201Run created and started
Run created and started
Content typeapplication/json
responseobject16 properties
idintegertask_idintegertask_versionintegertrigger_typestringstatusstringargumentsstring | nullJSON-encoded arguments
connector_mappingstring | nullJSON-encoded map of connector slot name to connector ID
started_atstring | null · date-timecompleted_atstring | null · date-timeduration_msinteger | nullitem_countinteger | nullerror_messagestring | nulllog_filestring | nullmetrics_summarystring | nullcreated_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"
}