AIChats
Beta

Get a Copilot chat

Get a Copilot chat owned by the authenticated user together with a preview of its message history (up to 100 messages, oldest first). Use messagesTotalCount to detect a truncated preview and GET /v3/ai-chats/{chatId}/messages to page through the full history.

get/ai-chats/{chatId}

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Path parameters

chatIdstring uuid required

The chat ID

Example:00000000-0000-0000-0000-000000000000

Response

OK

idstring uuid required

The id of the chat

titlestring required

The title of the chat

createdAtstring date-time required

The date and time the chat was created

messagesTotalCountinteger required

The total number of messages in the chat. When it is greater than the length of messages, the preview is truncated and the full history is available on the paginated messages endpoint.

Changes

No recorded changes to this operation across all 1 revision of this API.