Sessions

Download a transcript

GET /v1/sessions/{session_id}/download
Permission
read:sessions
Tokens
API key, CLI user token, Session token

Download the session transcript.

Path parameters

session_idstringrequired
{
"archived_through_feed_seq": int,
"earliest_feed_seq": int,
"format": str,
"has_more": bool,
"latest_feed_seq": int,
"session_id": str
}

Response

archived_through_feed_seqintegerrequired

The highest feed_seq covered by an archived segment (0 when none yet).

earliest_feed_seqintegerrequired

The retention head: the first feed_seq still available, or null when nothing has been recorded yet.

formatdefault "ellipsis_session_log@1"string

The session log format identifier.

has_morebooleanrequired

Whether records exist past the archived segments , true for a running session whose newest records are not archived yet.

latest_feed_seqintegerrequired

The feed head: the last allocated feed_seq.

segmentsarray<SessionLogSegment>required

The archived segments, in feed_seq order.

session_idstringrequired

Identifier of the session.

On this page

No Headings
Schedule a demo