Programmatically create and manage API keys.
Programmatic key management is served by the management API, authenticated with a management key (issued at Settings → Management Keys, distinct from inference keys).
| Method | Path | Purpose |
|---|---|---|
GET | /v1/management/keys | List keys (metadata only) |
POST | /v1/management/keys | Create a key — accepts name, rate_limit_rpm; the key value is returned once |
DELETE | /v1/management/keys/{id} | Revoke a key immediately |
There is no update operation — rotate by creating a replacement and revoking the old key. Renaming, per-key limits, and expiry are managed in the dashboard at /dashboard/keys (a session surface, not part of the key-authed /v1 API). See Management Keys for the full guide.