AI Chat

Set a chat's own next-step suggestion mode, or clear it to follow the user's default.

Changed on
put/ai/conversations/{public_id}/suggestion-mode

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/ai/conversations/{public_id}/suggestion-mode
  • Auth: HTTP bearer

Path parameters

public_idstring required

Conversation public id

Request body

mode'off' | 'ask' | 'always'

What happens after each answer.

Response

The chat's new setting

availableboolean required

Whether this chat can have suggestions at all. Only the assistant chat can; the other fields still describe the setting for other chats.

chat_mode'off' | 'ask' | 'always'

What happens after each answer.

default_mode'off' | 'ask' | 'always' required

What happens after each answer.

mode'off' | 'ask' | 'always' required

What happens after each answer.

source'chat' | 'default' required

Where a chat's effective mode comes from.

Changes