Skip to main content
Version: 1.0

Disable Turns API Definition

The Disable Turns API disables specific turns from a conversation within the chat history corpus. This enables developers to exclude specific responses from the conversation history.

The conversationId specifies the conversation ID that contains the turn you want to disable, and the turnId specifies the Turn ID that you want to disable.

tip

Check out our interactive API Playground that lets you experiment with this REST endpoint to delete turns in specific chats.

REST Example

Delete Turns Endpoint Address

Vectara exposes an HTTP endpoint at the following URL to disable turns in a chat:
https://api.vectara.io/v1/disable-turns

The API Playground shows the full Disable Turns REST definition.

gRPC Example

You can find the full Disable Turns gRPC definition at chat.proto.