Quick start: talk to an agent
Use the shortcutagent-default-main_task as task_id to directly interact with the IM agent’s main task — no need to look up UUIDs first:
- cURL
- Python
Shortcuts
The following shortcuts are available so you don’t need to look up UUIDs first:| Shortcut | Used as | Description |
|---|---|---|
agent-default-main_task | task_id | The IM agent’s main task. Accepted anywhere a task_id is expected. |
agent-default | agent_id | The IM agent. Use in task.list with scope=agent_subtask. |
Managing agents
Use theagent.* endpoints to list, view, and update your agents:
| Action | Endpoint |
|---|---|
| List all agents | agent.list |
| View agent details | agent.detail |
| Update nickname / description | agent.update |
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.