Documentation Index Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Delete one or more items by id within a namespace. Item ids are unique per namespace , not globally.
Missing ids are listed in not_found_ids without failing the request. Deleting items frees global item quota immediately.
Path parameters
Namespace to delete from.
Body
Non-empty array of item id strings. Maximum 100 ids per request.
curl -X POST "http://localhost:8080/namespaces/my-documents/items/delete" \
-H "Content-Type: application/json" \
-d '{
"ids": ["doc-1", "doc-2"]
}'
Response fields
Request outcome. "success" when the delete request completed; "failure" on error.
Human-readable result or error description.
Namespace items were deleted from. Present on successful delete.
Number of ids sent in the request. Present on successful delete.
Number of items actually removed. Present on successful delete.
Ids that were not found in the namespace. Present on successful delete (may be empty).
200 - Success
200 - Partial (some ids not found)
200 - None found
400 - Empty ids array
400 - Too many ids
400 - Empty id string
404 - Namespace not found
500 - Server Error
{
"status" : "success" ,
"message" : "Delete by ids completed." ,
"namespace_name" : "my-documents" ,
"requested" : 1 ,
"deleted" : 1 ,
"not_found_ids" : []
}
Important Notes
Works for both text and vector namespaces
Deleting items frees quota toward the global 100,000 item limit
A 200 response with deleted: 0 means none of the requested ids existed