Skip to main content
GET
Read a session's transcript

Path Parameters

sessionId
string<uuid>
required

The session's id.

Query Parameters

cursor
string

Opaque pagination cursor from a previous page's nextCursor or prevCursor.

Maximum string length: 1024
limit
integer
default:25

Maximum items per page.

Required range: 1 <= x <= 100

Response

One page of transcript entries, oldest first.

One page of a session's transcript, oldest first, plus the seam a client attaches the live event stream at.

items
object[]
required
limit
integer
required
Required range: x >= 1
hasMore
boolean
required

Whether more entries already exist after this page. False does not mean the transcript is finished — an append-only log always can grow — it means nothing more had been written when the page was read.

nextCursor
string
required

Where the next read resumes. Always present, including on the last page: a client that has caught up keeps it and re-reads from it later to collect whatever committed in between.

lastEventId
string
required

The event-stream position this page was read at — the id of the newest event this session had at the moment the entries were read, in the same database snapshot. Subscribe to GET /v1/events for this session with Last-Event-ID set to the last page's value and the stream continues exactly where the transcript stops. "0" when the session has no events at all.