Skip to main content

Interface: ListMessagesOptions

Options of Session.listMessages beyond the query itself

Properties​

PropertyTypeDescriptionDefined in
ifNoneMatch?stringAn ETag (or "<seq>") from a previous page. When the session has no newer message the server answers 304 and listMessages resolves to null — that poll costs Cortex a single Redis read and no database query.odin-transcription-service/packages/cortex-typescript-sdk/src/resources/sessions.ts:44