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
Deletes one or more items by id within a namespace. Missing ids are listed innot_found_ids without failing the request. Deleting items frees global item quota immediately.
Maximum 100 ids per request.
Synopsis
Options
| Flag | Required | Description |
|---|---|---|
--namespace-name | Yes | Namespace to delete from |
--ids-json | Yes | JSON array of item id strings (max 100 per request) |
--base-url | No | Default http://localhost:8080 |
On Windows PowerShell, escape inner quotes:
--ids-json '[\"doc-1\"]'. In bash, use single quotes: '["doc-1"]'.Examples
Output
Prints JSON fromPOST /namespaces/{namespace_name}/items/delete:
"success" when the delete request completed; "failure" on error.Human-readable result or error description.
Namespace items were deleted from.
Number of ids sent in the request.
Number of items actually removed.
Ids that were not found (may be empty).
Example output (success)
Example output (none found)
Exit codes
| Code | Meaning |
|---|---|
0 | Delete completed (including when deleted is 0) |
1 | API error (400, 404, 500, etc.) or invalid --ids-json |