GET /sessions/{session_id}/records
Return the session's stored transcript records, oldest first.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| GET | /v1/sessions/{session_id}/records |
Pagination is opt-in (cursor/limit); a bare call returns the full retained transcript. Available to sandbox tokens too: an agent answering "did X look into Y?" needs to read the sessions it finds, and any org member sees the same transcript in the dashboard.
Path parameters
session_idstringrequired
Query parameters
cursorstring
limitinteger
curl "https://api.ellipsis.dev/v1/sessions/{session_id}/records" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
for item in client.sessions.records("..."):
print(item)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
for await (const item of client.sessions.records('...')) {
console.log(item);
}Request
Response
Example response · 200
{
"earliest_feed_seq": 0,
"has_more": false,
"messages": [],
"next_cursor": "string",
}