Key Management
Create, list, rotate, and revoke API keys. All endpoints require session authentication (browser).
POST
/api/keysCreate a new API key. Returns the full key once — it cannot be retrieved later.
{ "name": "Production API", "environment": "live" }{ "data": { "id": "...", "key": "vsk_live_...", "keyPrefix": "vsk_live_...a3f0", "name": "Production API", "environment": "live" } }GET
/api/keysList all active (non-revoked) API keys. Never returns the full key.
POST
/api/keys/:id/rotateCreate a new key with the same name and environment. The old key remains active for 24 hours.
DELETE
/api/keys/:idImmediately revoke a key. It will be rejected within seconds.