The sandbox itself
Activity
The audit feed of what the agent did out in the world
Read-only by design. Entries are written by the sandbox alone and never by a caller, which is the whole reason the record can be trusted.
GET/activityWhat the agent has done out in the world
The record of actions taken on outside services. Read-only on purpose: entries are written by the sandbox alone. Someone who does not manage the sandbox reads only the entries of conversations they may see, since an entry carries the prompt that woke a turn.
What you send
| Field | Type | Where |
|---|---|---|
providerNarrow it to one outside service | string | query |
limitHow many entries to return | number | query |
beforeOnly entries older than this timestamp,… | number | query |
What comes back
| Field | Type |
|---|---|
eventsThe audit entries, newest first | object[] |
idThe entry's own id | string |
atWhen it happened, in milliseconds | number |
providerWhich outside service, when one was… | string |
accountWhich account handled it | string |
directionWhether something arrived, something went out,… | "in" | "out" | "system" |
typeExactly what happened: a message received… | string |
channelIdWhich channel or thread it happened… | string |
authorWho sent it, for something that… | string |
actorWho asked for the turn, as… | string |
contentThe message, in full, whichever direction… | string |
methodThe verb of an outgoing call | string |
endpointThe address of an outgoing call | string |
sessionIdThe provider session behind it | string |
turnIdTies one turn's entries together | string |
conversationIdWhich conversation | string |
titleWhat that conversation was called at… | string |
originWhat woke the conversation from outside,… | object |
automationId | string |
provider | string |
channelId | string |
threadId | string |
author | string |
automationIdsWhich automations were involved | string[] |
outcomeHow it ended | "ok" | "error" |
errorWhat went wrong, when something did | string |
extraWhatever else the source had to… | object |
answered in this tab
curl "$SANDBOX/activity" \
-H "x-intentic-control: $INTENTIC_TOKEN"import { sandbox } from "@intentic/sandbox-client";
const result = await sandbox.activity.list();GET/activity/statusWhether the audit trail is being kept
Which sources are feeding the record and whether each is working.
What you send
Nothing. Call it as it is.
What comes back
| Field | Type |
|---|---|
connectionsEach source feeding the record, and… | object[] |
capabilityIdWhich connection | string |
providerWhich service it is | string |
gatewayIdle means it is up but… | "ready" | "connecting" | "pairing" | "disconnected" … (5) |
lastErrorThe most recent thing that went… | string |
voiceA voice call the sandbox is… | object |
channelIdWhich channel | string |
channelNameWhat it is called | string |
startedAtWhen it joined, in milliseconds | number |
participantsWho else is in it | string[] |
answered in this tab
curl "$SANDBOX/activity/status" \
-H "x-intentic-control: $INTENTIC_TOKEN"import { sandbox } from "@intentic/sandbox-client";
const result = await sandbox.activity.status();More in The sandbox itself