Chat
Get chat history
Retrieve all events and chat metadata for the specified chat conversation. If the chat has a structured output schema, the generated structured output is returned in chat.result.
get/api/chat/history
Request
- Base URLhttps://app.cotool.ai
- AuthHTTP bearer
Query parameters
chatIdstring uuid required
Unique identifier of the chat to retrieve history for
limitnumber
Optional page size for paginated history fetch (1-100)
beforeCursorstring
Cursor for loading older events
Response
Successful response
Example response
{
"chat": {
"createdAt": "2025-06-17T12:34:56.789Z",
"updatedAt": "2025-06-17T12:34:56.789Z"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.