DELETE
Delete Document
Remove a document from your database by its ID. This permanently deletes the document and its associated embeddings.
Endpoint
DELETE /databases/{db_id}/documents/{doc_id}
Path Parameters
db_idstring · requiredThe database IDdoc_idstring · requiredThe document ID to deleteResponse
Returns the deleted document with its metadata.
vector_idstringUnique ID of the deleted documentcontentstring | nullThe document's text content (if applicable)metadataobject | nullAssociated metadata JSON objectcreated_atstringISO 8601 timestamp of when the document was createdExample Response
{
"vector_id": "4de5bed5-e483-4bd7-9760-a54ec07aefd9",
"content": "How to fix a leaky kitchen faucet",
"metadata": {
"category": "home-repair"
},
"created_at": "2024-01-15T10:30:00Z"
}