Chats

List messages in a chat

Retrieve the message history of a chat with pagination. Returns all messages including branched versions — use parent_id to reconstruct the conversation tree.

get/chats/{id}/messages

Request

Path parameters

idstring uuid required

The chat ID

Query parameters

limitinteger

Max items to return (default 100, max 500)

offsetinteger nullable

Number of items to skip (default 0)

order'asc' | 'desc'

Sort order by creation time (default: asc)

Response

Paginated list of messages

Changes

No recorded changes to this operation across all 1 revision of this API.