List, create, and revoke inference keys with the management API.
API keys authenticate every request to the OpenDunes API. Keys look like sk- followed by a hex string — they are shown once at creation; only a hash is stored on our servers. A default key is created automatically when you sign up.
Programmatic key management goes through the management API at /v1/management/keys. It authenticates with a management key (mk-…) — a separate credential from your inference keys, created at Settings → Management Keys. For interactive management, use the Keys page.
The openai SDK has no keys resource, so call the endpoints directly with httpx.
There is no update operation — rotate by creating a new key and revoking the old one.