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 |
runThe run that produced this row | string |
sentAtWhen it was sent, in milliseconds | number |
messageIdThe message's own id, on the… | string |
attachmentsFiles attached to this message, as… | string[] |
checkpointIdThe saved point this message can… | string |
rewindIndexThis message's position in the conversation's… | integer |
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 subagent 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 subagent made, nested… | object[] |
nestedHow many calls sit under this… | integer |
thinkingWhat the agent was reasoning about… | string |
subagentThe helper this call started, as… | object |
nestedHow many calls sit under this… | integer |
thinkingWhat the agent was reasoning about… | string |
subagentThe helper this call started, as… | object |
idIts own id, where that is… | string |
kind | "subagent" | "spawned" |
agentType | string |
description | string |
model | string |
provider | string |
background | boolean |
status | "pending" | "running" | "blocked" | "completed" … (7) |
tokens | number |
toolUses | number |
lastTool | string |
summary | string |
error | string |
verification | object |
todosThe agent's task checklist, as of… | object[] |
contentThe item, as the agent wrote… | string |
statusWhere it is | "pending" | "in_progress" | "completed" |
activeFormHow to phrase it while it… | string |
usageWhat the turn cost, on the… | object |
costUsd | number |
inputTokens | number |
outputTokens | number |
durationMs | number |
numTurns | number |
notesWhat the sandbox added to this… | object[] |
titleThe one line a reader sees,… | string |
textThe note itself, which is also… | string |
speakerWho sent this message, as the… | object |
when kind is "person" | shape |
emailThe signed-in member, as the sandbox… | string |
nameTheir display name, where the sign-in… | string |
when kind is "program" | shape |
tokenThe label of the control token… | string |
when kind is "agent" | shape |
conversationIdThe conversation whose agent is speaking:… | string |
when kind is "sandbox" | shape |
sourceWhat in the sandbox spoke: an… | string |
errandWhat this message is for, when… | "land-conflict" | "verify-nudge" | "land-breakage" | "land-fix" … (10) |
placedA person wrote this in the… | boolean |
noticeActionA one-press follow-up this notice offers,… | "landHold" | "depsInstall" | "watchStop" | "sandboxMemory" … (6) |
sandboxHeldThe sandbox kept this refused turn… | boolean |
noticeWaitThe wait this notice describes, by… | "credentialRenewal" | "chatRoute" | "watch" |
noticeWaitIdWhich instance of the wait this… | string |
noticeCodeWhich of the sandbox's own notices… | object |
codeWhich of the sandbox's notices this… | string |
paramsThe facts the notice was worded… | object |
agentNoticeThis notice was said by the… | object |
levelHow loud it was said: a… | "info" | "warning" | "error" |
sourceWho said it, when the runtime… | string |
planThe plan this row asked approval… | object |
requestIdWhat to send back when you… | string |
textThe plan itself | string |
documentThe write-up this plan refers to,… | object |
pathWhere it lives, as a workspace… | string |
titleWhat it is called: its opening… | string |
markdownThe document itself | string |
truncatedIt was clipped at the wire… | boolean |
planIt is one of the CLI's… | boolean |
statusWhere the decision stands | "pending" | "approved" | "rejected" | "cancelled" |
questionThe questions this row asked, and… | object |
requestIdWhat to send back when you… | string |
questionsWhat it wants to know | object[] |
questionWhat the agent is asking | string |
headerA short label for the question | string |
multiSelectWhether more than one answer can… | boolean |
optionsThe choices offered | object[] |
documentThe document this turn wrote and… | object |
pathWhere it lives, as a workspace… | string |
titleWhat it is called: its opening… | string |
markdownThe document itself | string |
truncatedIt was clipped at the wire… | boolean |
planIt is one of the CLI's… | boolean |
statusWhere the answer stands | "pending" | "answered" | "cancelled" |
answersWhat was chosen, keyed by the… | object |
attachmentsFiles the user attached to their… | object |
permissionThe tool this row asked permission… | object |
toolNameWhich tool it wants to use | string |
titleThe whole question, as a sentence,… | string |
displayNameA short phrase for the button,… | string |
descriptionMore about what it is asking… | string |
reasonWhy it is asking at all:… | string |
pathWhich file it concerns, when it… | string |
alwaysLabelThe wording for an always-allow answer | string |
alwaysAsksThis request asks every time: an… | true |
programThe program this request is holding,… | object |
textWhat would run | string |
languageWhich of the two backends it… | "bash" | "javascript" |
truncatedWhether this is an excerpt of… | boolean |
spansWhich fragments of the text the… | object[] |
childThe subagent this request would start… | object |
providerWhich provider serves it | string |
modelWhich of that provider's models | string |
harnessWhich agentic loop runs it | "native" | "claude-code" |
accountWhich of that provider's connected accounts… | string |
effortHow hard it thinks, where the… | string |
thinkingWhether it reasons before it answers,… | boolean |
fastWhether it asks for the faster… | boolean |
moveWhat the parent asks to do:… | "spawn" | "send" | "answer" |
childThe child's id, for one that… | string |
taskWhat the child is for, in… | string |
messageWhat the parent would say to… | string |
onWhich machine it runs on, when… | string |
proposedWhat the agent asked to start… | object |
explainOne plain sentence saying what the… | string |
requestIdWhat to send back when you… | string |
statusWhere the decision stands | "pending" | "allowed" | "always" | "everything" … (6) |
browserHelpThe browser hand-over this row asked… | object |
requestId | string |
session | string |
account | string |
message | string |
statusHow the hand-over ended | "pending" | "helped" | "declined" | "cancelled" |
terminalHelpThe terminal hand-over this row asked… | object |
requestId | string |
session | string |
message | string |
statusHow the hand-over ended | "pending" | "helped" | "declined" | "cancelled" |
capabilityOfferThe capability setup this row asked… | object |
requestId | string |
offer | object |
entryWhich catalog entry is being asked… | string |
nameWhat it is called, as the… | string |
whyThe agent's case for connecting it,… | string |
statusWhere the decision stands | "pending" | "connecting" | "skipped" | "cancelled" |
outcomeHow an accepted ask's setup ended… | object |
outcome | "connected" | "unfinished" |
id | string |
paymentOfferThe payment this row asked for,… | object |
requestId | string |
offer | object |
urlWhat is being paid for | string |
descriptionWhat the endpoint says it is | string |
payToWhere the money goes, taken verbatim… | string |
networkOn which network | string |
assetIn which token | string |
assetNameThat token's name | string |
amountUsdThe exact price | string |
spentTodayUsdWhat has already gone out today | string |
dailyCapUsdWhat may go out in a… | string |
whyThe agent's case for paying, and… | string |
statusWhere the decision stands | "pending" | "approved" | "skipped" | "cancelled" |
receiptHow the approved payment ended (the… | object |
outcome | "paid" | "failed" |
amountUsd | string |
transaction | string |
network | string |
watchWakeThe condition watch that woke this… | object |
outcomeHow the watch ended: the condition… | "met" | "timeout" | "restart-expired" | "broken" |
noteThe agent's own line on what… | string |
elapsedHow long the watch stood, already… | string |
sentThe whole prompt the model was… | string |
needSomething the agent asked a person… | object |
idThe need's handle, the one `needs… | string |
conversationIdThe conversation that asked, and the… | string |
subjectWhat exactly is asked for | object |
kind | "capability" |
entryThe catalog entry, as the catalog… | string |
nameWhat the catalog calls it, never… | string |
modeConnect something new, give a connected… | "connect" | "reconnect" | "change" |
instanceThe connection a reconnect or a… | string |
targetThe site, host or address the… | string |
prefillSettings the agent could fill in… | object |
changesFor a change: each setting and… | object |
reasonThe daemon's own sentence on why… | string |
reportedThe agent reported the credential refused… | boolean |
titleThe one line it leads with,… | string |
whyThe agent's case for it, and… | string |
statusWhere it stands: open (waiting on… | "open" | "working" | "met" | "declined" … (5) |
createdAtWhen it was raised, in milliseconds | number |
updatedAtWhen it last moved, in milliseconds | number |
answeredByWho answered it, as the sandbox… | string |
outcomeHow it ended, in the daemon's… | string |
toldHow the agent heard the outcome,… | "call" | "turn" | "queued" |
unattendedRaised by a turn nobody was… | boolean |
needWakeThe answered need that reached this… | object |
outcomeHow the need ended: a person… | "met" | "declined" |
titleThe need, as its card leads… | string |
idThe need's handle, which its live… | string |
sentThe whole prompt the model received,… | string |
agentWordsAnother agent's words that reached this… | object |
kindWho sent it: another conversation in… | "peer" | "child" |
fromThe sending conversation's id | string |
titleThe sender's title, when it had… | string |
failedA child's report on a turn… | boolean |
sentThe whole prompt the model received,… | string |
backgroundJobThe background job this row marks… | object |
idThe daemon's handle for the job,… | string |
labelWhat the job is, in the… | string |
commandThe command as the agent wrote… | string |
startedAtWhen it started, in milliseconds | number |
credentialOfferThe gated credential this row asked… | object |
requestId | string |
offer | object |
subjectWhich credential is being asked for | string |
kindWhether this gate covers one stored… | "secret" | "capability" |
laneWhat the credential was about to… | "shell" | "code" | "browser" | "session" … (5) |
detailWhere it would go: the start… | string |
whyThe agent's case for using it,… | string |
approversWho may release it | string[] |
scopeHow far one release goes: `use`… | "use" | "conversation" |
statusWhere the decision stands | "pending" | "approved" | "skipped" | "cancelled" |
receiptWho released it, or that somebody… | object |
outcome | "released" | "refused" |
approvedBy | string |
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