Returns
Promise<{ ids: string[]; count: number }>
: A Promise that resolves to an object containing:
ids
: Array of all item ID strings in the indexcount
: Total number of items in the index
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 operation.