Skip to main content
Version: 2.0

Get Chat API Definition

The Get Chat API allows you to view what started a chat, but not the subsequent turns.

Get Chat Request and Response

To get a chat, send a GET request to /v2/chats/{chat_id}, where {chat_id} is the unique identifier of the chat you want to retrieve. The chat_id is a string that was returned when the chat was created.

The response contains the chat id, first_query, first_answer, enabled status, and created_at timestamp.

REST 2.0 URL

Get Chat Endpoint Address

Vectara exposes an HTTP endpoint at the following URL to get a chat:
https://api.vectara.io/v2/chats/:chat_id

The API Reference shows the full Get Chat REST definition.