Delete Turns API Definition
The Delete Turns API deletes specific turns from chat. This enables developers to remove inaccurate or inappropriate responses from the conversation history.
The chat_id
specifies the conversation ID that contains the turn
you want to delete, and the turn_id
specifies the Turn ID that you want to
delete.
REST 2.0 URL
Delete Turn Endpoint Address
Vectara exposes an HTTP endpoint at the following URL to delete turns in a chat:https://api.vectara.io/v2/chats/:chat_id/turns/:turn_id
The API Reference shows the full Delete Turns REST definition.
gRPC Example
You can find the full Delete Turns gRPC definition at chat.proto.