Items
Get Items by ID
Retrieve items by id within a namespace (up to 100 ids per request).
POST
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 returns 200 with found_items less than requested_ids.
Path parameters
Namespace to read from.
Headers
Must be
application/jsonBody
Non-empty array of item id strings. Maximum 100 ids per request.
Response fields
Request outcome.
"success" when the lookup completed; "failure" on error.Human-readable result or error description.
Number of ids sent in the request. Present on successful lookup.
Number of items returned in
items. May be less than requested_ids if some ids were not found. Present on successful lookup.Array of found items. Empty array when none of the requested ids exist. Present on successful lookup.
Item id.
Stored document text. Present for text namespace items only.
Metadata stored with the item (custom fields from upload).