POST /worker (Plan mode)
Plan-mode entrypoint. Dispatches a task to the Conductor, which generates a DAG of subtasks and orchestrates Workers.
POST
/api/workerExecute a multi-step plan with multiple Workers in parallel.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
goal | string | yes | High-level goal for the Conductor to plan from |
strategy | string | no | merge | consensus | select_best |
budget_usd | number | no | Cap on total cost across all Workers |
local_only | boolean | no | Restrict all Workers to local models |
POST
/api/worker/confirmConfirm or deny a pending tool call in a Worker's pilot loop.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
task_id | string | yes | Pending task awaiting confirmation |
approved | boolean | yes | Allow or deny the tool call |