v3

latestOpenAPI 3.0.02026-08-081996601.2 MB
Chats

Get a chat

Returns a chat summary that shows what started the chat, but not subsequent turns.

get/v2/chats/{chat_id}

Path parameters

chat_idstring required

The ID of the chat.

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

A chat.

idstring required

ID of the chat.

first_querystring

The first query of the chat.

first_answerstring

The first answer of the chat.

enabledboolean

Indicates whether this chat is enabled and can have further turns.

created_atstring date-time

Specifies when this chat was created.

Example response

{
  "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
}