Skip to main content
Version: 2.0

List turns in a chat

GET 

/v2/chats/:chat_id/turns

List all turns in a chat to see all message and response pairs that make up the dialog.

Request

Path Parameters

    chat_id stringrequired

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

    The ID of the chat.

Responses

List of turns.

Schema
    turns object[]

    List of turns.

  • Array [
  • id string

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

    The ID of the turn.

    chat_id string

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

    The ID of the chat the turn resides in.

    query string

    The query made to produce this turn.

    answer string

    The response to the query.

    enabled boolean

    Indicates whether the turn is enabled and shown in futures turns of the chat.

    created_at date-time

    Specifies when the turn was created.

  • ]
Loading...