Create run
Creates a run in queued state. Call POST /agent/v1/run/:id/exec to start execution.
POST
Authorizations
API key starting with sk_case_
Body
application/json
ID of the agent to run
Task prompt for the agent
Additional guidance for this run
Override the agent default model for this run
Scope this run to specific vault object IDs. The agent will only be able to access these objects during execution.
HTTPS callback URL to receive a notification when the run completes. Registered atomically with the run — eliminates the race condition of calling /watch after /exec. Additional watchers can still be added via POST /run/:id/watch.
Previous
Cancel runCancels a running or queued run. Idempotent — cancelling a finished run returns its current status.
Next

