Skip to main content
POST
List IDs
List all item IDs currently stored in the 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

Basic List IDs:
With jq processing:
Check if specific ID exists:
This endpoint is useful for auditing index contents, verifying data integrity, and implementing custom batch processing workflows.
For large indexes with many items, consider implementing pagination on the client side by processing the returned IDs in batches.