Skip to main content

Interface: MessagePage

One page of a transcript plus the ETag the server sent with it. Hand the etag (or "<latestSeq>") back as ifNoneMatch on the next poll.

Extends​

Properties​

PropertyTypeDescriptionInherited fromDefined in
etag?stringThe response ETag (the newest seq, quoted); absent when annotations were included-odin-transcription-service/packages/cortex-typescript-sdk/src/resources/sessions.ts:35
latestSeqnumberDescription Newest seq of the session at the time of the request (0 while it has no messages). Send it back as If-None-Match: "<latestSeq>" to get a 304 when nothing changed. Example 180MessageListResponse.latestSeqodin-transcription-service/packages/cortex-typescript-sdk/src/types.ts:2240
messagesobject[]Description One page of messages in the requested orderMessageListResponse.messagesodin-transcription-service/packages/cortex-typescript-sdk/src/types.ts:2230
nextCursornull | numberDescription Cursor for the next page (after=<nextCursor>), or null when this page reached the end in the requested order. Always null for order=desc. Example 170MessageListResponse.nextCursorodin-transcription-service/packages/cortex-typescript-sdk/src/types.ts:2235