ApiKeys
Create API key
Creates a new API key and its actor record. The role must not have broader permissions than the creating user's role (prevents privilege escalation). Response includes the raw key exactly once.
post/api-keys
Request
- Base URLhttps://api.voltairlabs.com
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring uuid
Idempotency key for POST requests. If a transaction with the same key already exists for the org, the server returns the original response without re-executing. Keys are valid for 48 hours.
Request body
Response
Created — the raw key is included and cannot be retrieved again
Changes
No recorded changes to this operation across all 5 revisions of this API.