Getting started
Authentication
Authenticate requests with workspace API keys.
Every request must include an API key in the Authorization header using the Bearer scheme.
text
Authorization: Bearer YOUR_API_KEYKey scopes
| Scope | Allows |
|---|---|
| Full access | All API endpoints |
| Read only | Listing models and reading usage |
| Playground only | Console playground sessions |
Keeping keys safe
- Never embed keys in client-side code or mobile apps.
- Store keys in a secrets manager or environment variables.
- Rotate keys regularly and revoke any key that may be exposed.
- Use separate keys per environment.