GET /sessions/{session_id}/export

Export the complete session history.

MethodPath
GET/v1/sessions/{session_id}/export

The complete, ordered 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 files). /records is the paged live view of the same data.

Path parameters

session_idstringrequired
curl "https://api.ellipsis.dev/v1/sessions/{session_id}/export" \
  -H "Authorization: Bearer $ELLIPSIS_API_KEY"

Request

Response

Example response · 200
{
"archived_through_feed_seq": 0,
"earliest_feed_seq": 0,
"format": "ellipsis_session_log@1",
"has_more": false,
"latest_feed_seq": 0,
"session_id": "string"
}

On this page

No Headings
Schedule a demo