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