Delete Document
Delete a document and all associated data.
This action:
- Removes the document from all collections
- Deletes all embeddings and chunks
- Removes the document metadata
- Cannot be undone
The document will no longer be available for RAG or queries.
Returns the deleted document, including its embedding instances, in the response
body.
Authentication
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
OR
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
Path parameters
document_id
The UUID of the document to delete
org_id
The unique identifier of the organization.
project_id
The unique identifier of the project.
Response
The document was deleted
title
project_id
strategy
id
chunks
original_mime
embedding_instances
description
source
Source types for documents in the system.
source_meta
connection_id
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error