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 innot_found_ids without failing the request. Deleting items frees global item quota immediately.
Works for both text and vector namespaces.
Method
API
POST /namespaces/{namespace_name}/items/delete — see Delete items
Parameters
Namespace to delete from.
Non-empty array of item id strings. Maximum 100 ids per request.
Example
deleted: 0 means none of the requested ids existed — this is still a successful call, not an exception.
Returns
"success" when the delete request completed.Human-readable result description.
Namespace items were deleted from.
Number of ids sent in the request.
Number of items actually removed.
Ids that were not found in the namespace (may be empty).
Example return value (partial)
Example return value (none found)
Errors
Non-2xx responses raiseMoorchehApiError. Partial deletes (some ids not found) do not raise — check not_found_ids.
| Status | Cause |
|---|---|
| 400 | Empty ids, more than 100 ids, or empty id string |
| 404 | Namespace not found |