API ReferenceTasks
Decompose a goal into agent tasks
Decompose a goal into tasks using an LLM.
Requires a valid bearer token. If company_id is provided, the caller must be an
active member of it (403 otherwise) — the charter and hired roles that scope the
decomposition are tenant data. Without company_id all registered agents are used.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request to decompose a goal into agent-assigned tasks.
Response Body
application/json
application/json
curl -X POST "https://example.com/tasks/decompose" \ -H "Content-Type: application/json" \ -d '{ "company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "goal": "Add OAuth login to the neobank app", "product_type": "neobank" }'null