Quick start: talk to an agent
Every agent’stask_id from agent.list or agent.detail is its main task. Pass it as task_id to task.sendMessage to talk to that agent. For the IM agent, the shortcut agent-default-main_task resolves to the same task, so no lookup is needed:
- cURL
- Python
Shortcuts
The following shortcuts are available so you don’t need to look up UUIDs first:Managing agents
Use theagent.* endpoints to list, view, and update your agents:
Agent subtasks
Agents can create subtasks during execution. To view an agent’s subtasks, use task.list withscope=agent_subtask:
task_type: "agent_subtask" in the response and can be interacted with like any other task — task.sendMessage, task.listMessages, task.stop, etc.