Messages
Message retrieval endpoints
📄️ Get annotations for messages of a session
Batch retrieve annotations for a set of messages of this session, grouped by message ID.
📄️ Get messages for a session
Read the transcript of a session. Without query parameters the full transcript is returned as a plain array (legacy, deprecated for polling). With `after`, `limit`, `order` or `include` the response is a page (`MessageListResponse`) with keyset pagination on the per-session `seq`: poll with `after=<latestSeq>` and `If-None-Match: '<latestSeq>'` to receive `304 Not Modified` while nothing changed. `include=annotations,debugAudio` adds plugin annotations and the `hasDebugAudio` flag; both cost an extra query and are omitted otherwise.
📄️ Download debug audio for a message
Download the WAV file that was sent to the transcription API for this message. Only available when debug audio is enabled and within the 24-hour retention window.