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โ
- 200
- 400
- 401
- 403
- 404
Messages + state + message_count
Not a chat, or invalid params
Missing, unknown, revoked or expired key; shared authentication envelope
The shared key-scope gate uses the legacy envelope; an operation-specific refusal may use the v2 error envelope
Chat not found