POST /api/agent-workflows/{id}/execute
Body
{ "inputValues": { "patient_id": "pat_abc" }, "triggerType": "api", "mode": "async"
}
``` `mode`: `async` (queued via managed job queue) or `sync` (canvas test only). `triggerType`: `canvas_test` / `api` / `scheduled` / `webhook`.
### Response
```json
{ "executionId": "exec_abc" }
``` For canvas test mode (`mode: "sync"`), the response includes the full execution trace.