provider-keys

Mint For User

Mint a key for a named Quadrillion account.

Backs the internal tools site, which has no login of its own, so the holder is named in the request. actor is the caller, recorded separately so the audit trail shows who handed the key out.

post/api/provider-keys/admin/mint

Request body

provider'anthropic' | 'openai' required

Model providers qkey can hand out keys for.

emailstring required
rotateboolean

Response

Successful Response

provider'anthropic' | 'openai' required

Model providers qkey can hand out keys for.

keystring required
key_hintstring required
sourcestring required
env_varstring required
pool_remaininginteger nullable
pool_lowboolean
warningstring

Changes

Changed in 1 of the 16 revisions of this API.1