Delete a turn
DELETE/v2/chats/:chat_id/turns/:turn_id
Delete a turn from a chat. This will delete all subsequent turns in the chat.
Request
Path Parameters
chat_id stringrequired
Possible values: Value must match regular expression cht_.+$
The ID of the chat.
turn_id stringrequired
Possible values: Value must match regular expression trn_.+$
The ID of the turn.
Responses
- 204
- 403
- 404
Successfully deleted a turn.
Permissions do not allow deleting the turn.
- application/json
- Schema
- Example (from schema)
Schema
messages message[]
The messages describing why the error occurred.
request_id string
The ID of the request that can be used to help Vectara support debug what went wrong .
{
"messages": [
"Internal server error."
],
"request_id": "string"
}
Corpus, chat, or turn not found.
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID cannot found.
messages message[]
request_id string
ID of the request that can be used to help Vectara support debug what went wrong.
{
"id": "string",
"messages": [
"string"
],
"request_id": "string"
}
Loading...