Skip to main content

List chat messages

GET 

/v2/spaces/:space_id/chats/:chat_id/messages

after alone walks forward, oldest first, continuing from next_after. Every other query is anchored at the newest end and walks backward from next_before. Both bounds are exclusive; messages are always ascending. message_count is the number of messages the chat holds now; lifetime_message_count counts every message ever posted. offset is refused.

Requestโ€‹

Responsesโ€‹

Messages + state + message_count