Skip to main content

Get

Retrieves, decrypts and returns items from their IDs. If an item does not exist at that ID, it will return an empty object.

Parameters

Returns

List[Dict]: Decrypted item fields for each item, including id and specified fields (e.g., vector, contents, and metadata).
The contents field is always returned as bytes, regardless of whether it was originally stored as a string or bytes. All contents are encoded to bytes and encrypted before storage.

Exceptions

  • Throws if the item could not be retrieved or decrypted.
  • Throws if an unexpected error occurs during retrieval.

Example Usage