Ellipsis APIReferenceSessions

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.

POST
/v1/sessions/{session_id}/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.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

session_id*Session Id

Header Parameters

user-agent?string|null

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}