Document API
Delete Document
Delete a document and all its associated data
DELETE
Deleting a document will simultaneously:
- Remove all vector chunks for this document from pgvector
- Invalidate the BM25 index for the corresponding knowledge base
- Delete the local file
- Delete the database record on the Next.js side
Bearer JWT Token
Knowledge base ID
Document ID
Operation result message