Format
Creating a key
From the dashboard’s API key area for your company:- Name the key for the integration it serves.
- Select scopes. Start from a preset or choose individually.
- Optionally restrict the key to one or more buckets.
- Choose an environment label:
development,staging, orproduction. - Choose an expiry. The default is 90 days;
nullmeans no expiry. - Complete step-up authentication.
- Copy both values immediately.
Prerequisites enforced by the backend
If creation fails, fix the account state. There is no API-side workaround.
Scope presets
The dashboard offers three convenience presets:mcp is never included in a preset. Add it explicitly only if you are building an MCP client. See Scopes and permissions.
Bucket restriction
A key can be unrestricted or limited to specific buckets.
The restriction is enforced before the operation runs and before trial accounting. Attempts outside the scope return
403 API_BUCKET_SCOPE_DENIED.
A restricted key can only reach the buckets it is scoped to. It cannot operate on other buckets, and the bucket list shows it only the buckets it is scoped to.
Environment label
The environment label is metadata recorded with usage events. It does not create a separate API host, dataset, or isolation boundary. For real isolation, use a separate company workspace with separate keys. This documentation does not describe a sandbox base URL.Expiry
expiresInDays accepts 1 to 365, or null for no expiry. The default is 90 days.
Expired keys fail authentication immediately. There is no grace period documented. Plan rotation before expiry, especially for unattended jobs.
Rotation
Rotation creates a new public/secret pair for the same key record. Update your deployed secret, verify a request succeeds, then discard the old pair. A safe sequence:- Rotate in the dashboard.
- Write the new pair to your secret manager.
- Deploy or restart the consumer.
- Verify a read request.
- Confirm no traffic is still using the old pair.
Revocation
Revocation is immediate. Use it when:- a secret may have leaked,
- an integration is retired,
- a contractor or member loses access,
- usage looks anomalous.