Skip to main content

List session messages

GET 

/v1/sessions/:session_id/messages

Lists the conversation of one of the calling end user's sessions in order: the user's messages, the assistant's replies with their media, and error notices; verbose=true adds activity items. Each reply carries the task_id of the task that wrote it. A voice session lists its transcript. Page with next_cursor: a cursor keeps its place even after the session's older messages are archived. Archiving can change a message's id, so match replies by task_id.

Request​

Responses​

Successful Response