Remove a conversation
DELETE/v1/memory/episodes/:id
Removes one conversation of the project of the key: its messages, and the memories that no other conversation also wrote. A memory that another conversation also wrote stays live. The call needs confirm: true.
Request
Responses
- 200
- 400
- 401
- 404
- 413
- 415
- 500
- 503
The conversation is removed.
The body is missing or holds no confirm: true (bad_request, confirm_required). The id is not a UUID (plain text).
The bearer virtual key is missing (missing_key), or it is not valid or it is revoked (invalid_key).
The project has no such conversation (not_found).
The body is larger than the request body limit. The body of this answer is plain text.
The content-type is not application/json. The body of this answer is plain text.
A database query failed (query_failed).
The key store or the limits store is not available (keystore_unavailable, limits_unavailable), or the gateway has no database (no_db).