Skip to main content
Version: 2.0

List chats

GET 

/v2/chats

Retrieve a list of previous chats in the Vectara account.

Request

Query Parameters

    limit int32

    Possible values: >= 1 and <= 10000

    Default value: 1000

    The maximum number of results to return in the list.

    page_key string

    Used to the retrieve the next page of chats after the limit has been reached.

Responses

List of chats.

Schema
    chats object[]

    List of chats.

  • Array [
  • id string

    Possible values: Value must match regular expression cht_.+$

    ID of the chat.

    first_query string

    The first query of the chat.

    first_answer string

    The first answer of the chat.

    enabled boolean

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

    created_at date-time

    Specifies when this chat was created.

  • ]
  • metadata object

    The standard metadata in the response of a list operation.

    page_key string

    When requesting the next page of this list, this is needed as a query parameter.

Loading...