Delete Document
This API endpoint deletes a specific document from the collection using its ID .
Endpoint
DELETE `/agent_db/collections/{collection_name}/documents/{document_id}`
Header
X-AGENT-API-KEY: your-api-key
Sample Responses
200 - OK
{
"status": "success",
"status_code": 200,
"message": "Document deleted successfully"
}
400 - Not Found
{
"status": "error",
"status_code": 400,
"message": "no document found with ID: {document_id}",
"error": {}
}