Ellipsis APIReferenceSessions

Get Agent Session Log

Return the session log — the complete, ordered, downloadable history of the session (agent output, tool calls, thinking, lifecycle events, sandbox output, message events) as an ordered manifest of presigned segment URLs. Segments are gzip members: download in order and concatenate for one file. The JSON API never carries the bytes (same two-step as assets). /records is the paged live view of the same data.

GET
/v1/sessions/{session_id}/log

Return the session log — the complete, ordered, downloadable history of the session (agent output, tool calls, thinking, lifecycle events, sandbox output, message events) as an ordered manifest of presigned segment URLs.

Segments are gzip members: download in order and concatenate for one file. The JSON API never carries the bytes (same two-step as assets). /records is the paged live view of the same data.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

session_id*Session Id

Header Parameters

user-agent?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/sessions/string/log"
{  "archived_through_feed_seq": 0,  "caught_up": true,  "earliest_feed_seq": 0,  "format": "ellipsis_session_log@1",  "latest_feed_seq": 0,  "segments": [    {      "bytes": 0,      "download_url": "string",      "end_feed_seq": 0,      "expires_in": 0,      "record_count": 0,      "start_feed_seq": 0    }  ],  "session_id": "string"}