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
Fetch stored items by id within a namespace. Item ids are unique per namespace, not globally.- Text namespaces return
id,text, andmetadatafor each found item - Vector namespaces return
idandmetadataonly (vectors are not returned)
items; the request still succeeds with found_items less than requested_ids.
Method
API
POST /namespaces/{namespace_name}/items/get — see Get items
Parameters
Namespace to read from.
Non-empty array of item id strings. Maximum 100 ids per request.
Example
Returns
"success" when the lookup completed.Human-readable result description.
Number of ids sent in the request.
Number of items returned in
items. May be less than requested_ids if some ids were not found.Array of found items. Empty when none of the requested ids exist.
Item id.
Stored document text. Present for text namespace items only.
Metadata stored with the item (custom fields from upload).
Example return value (text namespace)
Example return value (vector namespace)
Errors
Non-2xx responses raiseMoorchehApiError. A successful lookup with missing ids does not raise — check found_items vs requested_ids.
| Status | Cause |
|---|---|
| 400 | Empty ids, more than 100 ids, or empty id string |
| 404 | Namespace not found |