Agents
Past sessions
Conversations that have finished, and their transcripts
Two reads. The list of past conversations, and one conversation's full record by id.
GET/sessionsPast conversations in this workspace
Summaries for a history menu, filtered when you pass a search. Covers conversations that worked in their own private copies too, so nothing is hidden just because it happened on a branch.
What you send
| Field | Type | Where |
|---|---|---|
query | string | query |
caseSensitive | string | query |
What comes back
| Field | Type |
|---|---|
sessionsPast conversations, newest first | object[] |
idIts id | string |
titleWhat it is called | string |
updatedAtWhen it last moved, in milliseconds | number |
snippetWhy a search matched: the line… | object |
textThe matching line, with a little… | string |
speakerWho said it | "user" | "agent" |
answered in this tab
curl "$SANDBOX/sessions" \
-H "x-intentic-control: $INTENTIC_TOKEN"import { sandbox } from "@intentic/sandbox-client";
const result = await sandbox.sessions.list();GET/sessions/{id}Read one past conversation
The full record of a single conversation, restored for display.
What you send
| Field | Type | Where |
|---|---|---|
idrequiredWhich past conversation | string | address |
What comes back
| Field | Type |
|---|---|
messagesThe conversation, in order | object[] |
roleWho said it | "user" | "assistant" | "notice" |
textThe words | string |
sentAtWhen it was sent, in milliseconds | number |
attachmentsFiles attached to this message, as… | string[] |
checkpointIdThe saved point this message can… | string |
thinkingWhat the agent was reasoning about | string |
toolsThe tool calls this part of… | object[] |
idThe call's id | string |
nameWhich tool | string |
categoryWhat kind of thing it does:… | "read" | "edit" | "delete" | "move" … (9) |
statusHow it went | "pending" | "in_progress" | "completed" | "failed" |
targetWhat it acted on, in one… | string |
locationsThe files it touched | object[] |
pathThe file, as a workspace path,… | string |
lineWhich line, counting from one | number |
contentWhat it produced: text, a change… | object[] |
typePlain output | "text" |
textWhat the tool said | string |
childrenCalls a delegated helper made, nested… | object[] |
idThe call's id | string |
nameWhich tool | string |
categoryWhat kind of thing it does:… | "read" | "edit" | "delete" | "move" … (9) |
statusHow it went | "pending" | "in_progress" | "completed" | "failed" |
targetWhat it acted on, in one… | string |
locationsThe files it touched | object[] |
contentWhat it produced: text, a change… | object[] |
childrenCalls a delegated helper made, nested… | object[] |
thinkingWhat the agent was reasoning about… | string |
thinkingWhat the agent was reasoning about… | string |
notesWhat the sandbox added to this… | object[] |
titleThe one line a reader sees,… | string |
textThe note itself, which is also… | string |
placedA person wrote this in the… | boolean |
noticeActionA one-press follow-up this recorded notice… | "tierHold" |
answered in this tab
curl "$SANDBOX/sessions/a1b2c3d4" \
-H "x-intentic-control: $INTENTIC_TOKEN"import { sandbox } from "@intentic/sandbox-client";
const result = await sandbox.sessions.get({
"id": "a1b2c3d4"
});More in Agents