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 URL
    https://app.cotool.ai
  • Auth
    HTTP 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

feedbackByEventobject

Latest human thumb feedback keyed by chat event id

nextCursorstring nullable

Cursor for loading older events

hasMoreboolean

Whether more older events are available

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.