Read, rename and cancel top-level tasks, including tasks started in the app rather than through this API.
List root conversations
Pages through the top-level tasks the key can read, most recently updated first, without their subtasks. Pass the returned cursor back as cursor for the next page.
query Parameters
cursorlimitList root conversations › Responses
A page of root conversations.
nextCursorGet a root conversation
Returns the metadata of one top-level task: its title, agent, workspace and lifecycle status. A subtask or a task the key cannot read answers 404.
path Parameters
taskIdThe task's id.
Get a root conversation › Responses
The root conversation.
taskIdRoot task.id, never a dispatch or runtime run ID
titleorgIdagentIdworkspaceIdworkspaceNameThe workspace's display name; null when the task is in no workspace
statusPersisted root lifecycle status, not runtime execution status
createdAtupdatedAtUpdate a root conversation
Renames a top-level task, or clears its title with null. The key must act as the task's owner; a service account key names the owner with ownerUserId or ownerUserEmail.
path Parameters
taskIdThe task's id.
Update a root conversation › Request Body
titleownerUserIdownerUserEmailUpdate a root conversation › Responses
The updated root conversation.
taskIdRoot task.id, never a dispatch or runtime run ID
titleorgIdagentIdworkspaceIdworkspaceNameThe workspace's display name; null when the task is in no workspace
statusPersisted root lifecycle status, not runtime execution status
createdAtupdatedAtCancel a root conversation
The body is optional.
path Parameters
taskIdThe task's id.
Cancel a root conversation › Request Body optional
ownerUserIdownerUserEmailCancel a root conversation › Responses
What the cancellation did (outcome).
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: taskId, dispatchRunId, outcome | |
| type = object · requires: taskId, dispatchRunId, outcome +1 more | |
| type = object · requires: taskId, dispatchRunId, outcome | |
| type = object · requires: taskId, dispatchRunId, outcome | |
| type = object · requires: taskId, taskRunId, outcome +1 more | |
| type = object · requires: taskId, outcome |
taskIddispatchRunIdoutcometaskRunId