bigRAG
API Reference

API Keys

Mint, list, update, rotate, and revoke bigrag_sk_ keys.

Base path: /v1/admin/api-keys — Session-only. You cannot mint new keys using an existing key.

Plaintext values are returned once on creation or rotation and are never re-retrievable — only the prefix and a keyed hash are persisted. When BIGRAG_MASTER_KEY is unset, older development keys may use the legacy SHA-256 hash format.

During master-key rotation, API-key lookup checks BIGRAG_MASTER_KEY plus BIGRAG_MASTER_KEY_PREVIOUS, so existing keys continue to authenticate while you rotate and rewrite stored hashes.