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
- Base URLhttps://app.gc.ai/api/external/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.