Skip to main content
Retrieves items from the index by ID, with the fields you choose.

Parameters

Returns

List[Dict], one dict per ID found. IDs that don’t exist are left out of the result without an error, and an empty ids list returns []. When include doesn’t contain "vector", an existing item that has none of the requested fields is also left out.
contents is always a str. Contents upserted as bytes come back as their base64 text; decode them with base64.b64decode().

Exceptions

The index_key or api_key is invalid (HTTP 401).
The service returns 5xx or can’t be reached.
See Errors for the full hierarchy.

Example Usage

Decode bytes contents