v3

latestOpenAPI 3.0.02026-08-081996601.2 MB
Chats

List chats

Lists previous chats in the account.

get/v2/chats

Query parameters

limitinteger

The maximum number of results to return in the list.

page_keystring

The opaque cursor returned in metadata.page_key of the previous response. Omit it to fetch the first page.

Headers

Request-Timeoutinteger

The platform makes a best effort to complete the request in the specified seconds, or it times out.

Request-Timeout-Millisinteger

The platform makes a best effort to complete the request in the specified milliseconds, or it times out.

Response

List of chats.

Example response

{
  "chats": [
    {
      "id": "cht_123456789",
      "first_query": "What are the arbitration terms in the Delaware employment contract?",
      "first_answer": "Clause 9.2 mandates binding arbitration through AAA with venue in Delaware and a 30-day opt-out. California law governs the agreement.",
      "enabled": true
    }
  ],
  "metadata": {
    "page_key": "eyJvZmZzZXQiOjF9"
  }
}