Skip to main content
POST
Get Vectors
Retrieve specific vectors from the index by their IDs.

Authentication

Required - API key via X-API-Key header:
Any valid credential is accepted — the root key or a per-user cdbk_ token. When RBAC is not enabled (CYBORGDB_SERVICE_ROOT_KEY unset), no header is required.

Request Body

Response

If an item ID doesn’t exist, it will be omitted from the results.

Exceptions

Authentication failed (invalid API key) or wrong index_key on SDK-supplied indexes — see error model
Index not found
Invalid request parameters
Internal server error

Example Usage

Get All Fields:
Get Only Contents:
Get Metadata Only:
Batch Retrieval:
Example Response (Contents Only):
Example Response (Metadata Only):

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