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
Retrieves stored items by id within a namespace. Item ids are unique per namespace, not globally.- Text namespaces return
id,text, andmetadata - Vector namespaces return
idandmetadataonly
items (still returns 200 with found_items less than requested_ids).
Synopsis
Options
| Flag | Required | Description |
|---|---|---|
--namespace-name | Yes | Namespace to read 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\",\"doc-2\"]'. In bash, use single quotes: '["doc-1","doc-2"]'.Examples
Output
Prints JSON fromPOST /namespaces/{namespace_name}/items/get:
"success" when the lookup completed; "failure" on error.Human-readable result or error description.
Number of ids sent in the request.
Number of items returned in
items.Found items. Empty when none of the ids exist.
Item id.
Document text. Present for text namespace items only.
Metadata stored with the item.
Example output (text namespace)
Example output (vector namespace)
Exit codes
| Code | Meaning |
|---|---|
0 | Lookup completed (including when no ids were found) |
1 | API error (400, 404, 500, etc.) or invalid --ids-json |