v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01251238661.6 KB
v1
protected
agent-tasks

Create Task For Agent Sync

Create and execute a task for the specified agent (synchronous response).

post/v1/agents/{agent_id}/tasks/sync

Path parameters

agent_idstring uuid required

Request body

attachmentsstring[] nullable
descriptionstring required
parametersobject
project_idstring nullable
requires_human_approvalboolean nullable

Response

Successful Response

agent_idstring uuid required
created_atstring required
descriptionstring required
errorstring nullable
execution_idstring nullable
failure_reasonstring nullable
idstring uuid required
parametersobject required
statusstring required
total_costnumber nullable