API documentation
get
/api/v1/chat/{sessionId}/historyReturns ordered messages for a session (user and assistant roles).
Chat
Parameters
sessionId
path · string
Required
Responses
- 200Message array ordered by created time.application/json
[ { "role": "User", "content": "What is Bitcoin doing today?", "createdAt": "2026-07-09T14:30:00Z" }, { "role": "Assistant", "content": "BTCUSD is trading near $63,000…", "createdAt": "2026-07-09T14:30:05Z" } ] - 401Not authorized for this session.application/json
{} - 404Unknown session.application/json
{}