Remove files from a knowledge base
DELETE/knowledge-bases/:kb_id/files
Removes one or more files and the chunks indexed from them, so their content stops being retrieved. Cleanup runs in the background. Removing a file that has already been removed succeeds without doing anything.
Request
Responses
- 202
- 401
- 404
The files were marked for deletion.
Your API key is missing or invalid.
No knowledge base with that ID exists.
Was this page helpful?