Skip to main content
DELETE
Delete Knowledge Base Document By Id
Permanently remove a document from a knowledge base. This deletes the document file, all extracted chunks, and vector embeddings.

Path Parameters

string
required
Unique identifier of the knowledge base (UUID format)
string
required
Unique identifier of the document to delete (UUID format)

Response

Returns 202 Accepted on successful deletion.

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

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

kb_id
string
required
document_id
string
required

Response

Successful Response