Tasks
Start a task
Start a new Task — one conversation with the agent — inside a Project.
POST
The Task shares the Project’s file Drive and starts in
idle, doing nothing until you post the first message with POST /messages, which moves it to running (→ completed | failed | cancelled). Related: GET /tasks/{id} to poll status · POST /tasks/{id}/cancel to stop it.Authorizations
Requires an API key. See the Authentication guide.
Body
application/json
Response
201 - application/json
Task created (status starts as idle).
Available options:
idle, running, completed, cancelled, failed Allowed value:
"task"Available options:
api, mcp, web, desktop, mobile Available options:
running, done, failed 