Ingest Agent Session Transcript
Append on-disk transcript lines to a session's record — the in-sandbox tailer for interactive sessions. A sandbox token may only push its own session's transcript. Idempotent by transcript line uuid; tolerant of malformed lines.
Append on-disk transcript lines to a session's record — the in-sandbox tailer for interactive sessions.
A sandbox token may only push its own session's transcript. Idempotent by transcript line uuid; tolerant of malformed lines.
Authorization
HTTPBearer In: header
Path Parameters
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A batch of raw transcript lines pushed from inside a session's sandbox.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/sessions/string/transcript" \ -H "Content-Type: application/json" \ -d '{ "lines": [ "string" ] }'{ "completed_turns": 0, "ingested": 0, "next_offset": 0, "skipped": 0}Stop Agent Session
Stop an in-flight session and return it. stopped_by is recorded only when the caller's credential maps to a GitHub account.
Get Agent Session Turns
Return the session's conversation structure — its turns and inbox messages — for durable (keyed) sessions; empty lists for single-shot sessions. The session's per-conversation state (idle | running | closed) rides on the session object itself (session_state).