Encrypted Index
Get Vectors
POST
Get Vectors
Retrieve specific vectors from the index by their IDs.
You can get an API key from the CyborgDB Admin Dashboard. For more info, follow this guide.
If an item ID doesn’t exist, it will be omitted from the results.
Get Only Contents:
Get Metadata Only:
Batch Retrieval:
Example Response (Contents Only):
Example Response (Metadata Only):
Authentication
Required - API key viaX-API-Key header:
Request Body
Response
Exceptions
401: Authentication failed (invalid API key)404: Index not found422: Invalid request parameters500: Internal server error
Example Usage
Get All Fields:For IVF and IVFPQ index types, the
vector field cannot be included in the response as these index types use compression techniques that don’t preserve original vectors.Use Cases
- Content retrieval: Get original text content by ID
- Metadata lookup: Retrieve item metadata for display
- Data validation: Verify stored data integrity
- Bulk operations: Retrieve multiple items efficiently
- Content management: Extract specific items for editing or processing