Start a run
Idempotent per idempotency_key; runners use ${automation_id}:${revision}:${scheduled_for}. Returns a run token (ba_run_..., valid for 6 hours) for the child agent.
POST
/api/agent/automations/{id}/startAuthorization
AuthorizationBearer token (ba_sk_...) · headerrequiredAPI key from /dashboard/api-keys. Keys expire after 365 days.
Path parameters
idstringrequiredAutomation id
Request body
requiredapplication/jsonexecutor_idstringrequiredrevisionintegerrequiredidempotency_keystringrequiredmax length 200
scheduled_forstring<date-time>Responses
200
OK
runobjectrun_tokenstringrun_token_expires_atstring<date-time>401
Missing, invalid, expired, or revoked API key
errorstringrequiredcodestring409
AUTOMATION_PAUSED, REVISION_STALE, NO_TARGETS, or WRONG_EXECUTION_MODE
errorstringrequiredcodestring