Skip to main content
Version: 1.0

Delete Turns API Definition

The Delete Turns API deletes specific turns from a conversation within the chat history corpus. This enables developers to remove inaccurate or inappropriate responses from the conversation history.

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

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 delete turns in a chat:
https://api.vectara.io/v1/delete-turns

The API Playground shows the full Delete Turns REST definition.

gRPC Example

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