Export session messages as a JSONL file
GET
/v1/sessions/{session_id}/export
const url = 'https://app.everruns.com/api/v1/sessions/example/export';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.everruns.com/api/v1/sessions/example/exportReturns all materialized messages (user, agent) as newline-delimited JSON.
Delta events are excluded. Each line is a complete JSON object representing one message.
The response includes Content-Disposition: attachment for browser download.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” session_id
required
string
Session ID (prefixed, e.g., session_…)
Responses
Section titled “ Responses ”JSONL file with one message per line
Media type application/x-ndjson
Invalid ID format
Forbidden
Session not found
Internal server error