cURL
curl --request POST \ --url https://api.example.com/api/agents/{agent_uid}/run \ --header 'Content-Type: application/json' \ --data ' { "trigger_payload": {} } '
Trigger a manual agent run
{ "trigger_payload": { "invoice_uid": "inv-uuid-here" } }
{ "trigger_payload": { "message_uid": "msg-uuid-here" } }
202
{ "status": "success", "status_code": 202, "message": "Agent run started", "data": { "uid": "run-uuid-here", "sandbox": false, "agent_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "agent_version_uid": "ver-uuid-here", "scratchpad_uid": "sp-uuid-here", "workflow_id": "agent-loop-a1b2c3d4", "approach": "loop", "status": "pending", "trigger_type": "invoice", "trigger_payload": { "invoice_uid": "inv-uuid-here" }, "result": null, "token_usage": null, "error": null, "started_on": null, "completed_on": null, "created_on": "2026-03-20T10:00:00Z" } }
404
409
422