REST API - Knowledge
Delete Knowledge Base Document
Delete a specific document from a knowledge base
DELETE
Delete Knowledge Base Document By Id
Knowledge bases are replaced by the Company Brain. Knowledge bases in use move into brains automatically, and these calls keep working on a moved knowledge base for one release. For new content, use collections.
Path Parameters
string
required
Unique identifier of the knowledge base (UUID format)
string
required
Unique identifier of the document to delete (UUID format)
Response
Returns202 Accepted with {"ok": true}.
Example Request
Example Response
Notes
- This action cannot be undone
- All vector embeddings for this document will be removed from search
- Agents using this knowledge base will no longer have access to this document’s content
- The document file itself is permanently deleted from storage
- Returns 404 if the document or knowledge base is not found

