Skip to main content
POST
Get Vector Count
Get the number of vectors stored in an encrypted index.

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

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