Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
ids | List[str] | - | List of vector IDs to retrieve |
include | List[str] | ["vector", "contents", "metadata"] | Fields to include in the response |
Returns
List[Dict] - List of dictionaries containing the requested vector data.
The
contents field is returned in its original format (string or bytes) as it was stored. String contents remain strings, and bytes contents remain bytes after decryption.Exceptions
Error
Error
- Throws if the API request fails due to network connectivity issues.
- Throws if authentication fails (invalid API key).
- Throws if the encryption key is invalid for the specified index.
- Throws if there are internal server errors preventing the retrieval.
Validation Errors
Validation Errors
- Throws if the
idsparameter is null, undefined, or empty. - Throws if the
includeparameter contains invalid field names.