Authentication
All API requests authenticate with a Bearer key created in your dashboard. Keys can carry an optional spending cap; disabling or deleting a key takes effect immediately.
Authorization header
http
Authorization: Bearer sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxKeys start with sk- and are shown once at creation. Every response includes an X-Oneapi-Request-Id header; quote it when contacting support.
Managing keys
Keys are created, capped and revoked in the dashboard. A key can carry a USD spending cap, an expiry date, a model allowlist and an IP allowlist. A disabled key rejects requests immediately with a 401; balance is never consumed by rejected requests.
Checking balance
See Balance & keys API for programmatic balance checks.