Skip to main content

Type Alias: MessageListResponse

type MessageListResponse: components["schemas"]["MessageListResponse"];

Properties​

PropertyTypeRequiredDescription
messagesMessage[]YesOne page of messages in the requested order
nextCursornumberYesCursor for the next page (after=<nextCursor>), or null when this page reached the end in the requested order. Always null for order=desc. (example: 170)
latestSeqnumberYesNewest 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: 180)

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/resources/sessions.ts:25