API referenceFollowing
Read where its sandbox is
GET
Reading it never starts, resumes or replaces a sandbox.
bearerheader
AuthorizationBearer <token>An API token
id*stringA session id
The sandbox's state
application/json- response
generation*integerCounts sandboxes this session had
state*unknowncurl -X GET 'http://127.0.0.1:7777/sessions/ses_6c1f2a0b9d3e4f5a6b7c/sandbox'Example Response
{ "generation": 0, "state": "missing"}List subagent sessions GET
The sessions its `subagent` steps started.
Watch the sandbox's screen GET
`multipart/x-mixed-replace; boundary=pistis-frame`, for as long as you read it. Each part is a picture (`image/jpeg`, with `X-Screen-Width` and `X-Screen-Height` when known), sent only when the screen changed, or `application/json` `{"none": "<why>"}` while there is no picture (no browser open yet, the agent isn't using the sandbox). The sandbox makes pictures only while someone watches; a slow reader gets the newest picture, never a backlog. Nothing is recorded. Whoever may read the session may watch it.