Sessions
List records
Read complete platform and native harness records.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path | Required permissions |
|---|---|---|
| GET | /v1/sessions/{session_id}/records | read:sessions |
Token access
- API key
- Supported.
- CLI user token
- Supported.
- Sandbox token
- Requires the ellipsis:api scope and the required grants in the token's permissions.ellipsis configuration.
Higher permission levels include lower levels: read < write < delete.
Grant match patterns can further restrict access to individual resources.
Partial text deltas are live-only.
Path parameters
session_idstringrequired
Query parameters
cursorstring
limitinteger
curl "https://api.ellipsis.dev/v1/sessions/{session_id}/records" \
-H "Authorization: Bearer $ELLIPSIS_API_TOKEN"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
for item in client.sessions.records("session_example"):
print(item)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
for await (const item of await client.sessions.records("session_example")) {
console.log(item);
}Request
Response
Example response, 200
{
"earliest_feed_seq": 0,
"has_more": false,
"messages": [],
"next_cursor": "string",
}