Authentication
Bifrost uses gateway keys for API authentication.
Gateway keys
Create a gateway key from the dashboard. Keys start with sk-bifrost-.
Using keys
Pass the key via the Authorization header:
Authorization: Bearer sk-bifrost-your-key-here
Environment variable
BIFROST_API_KEY=sk-bifrost-your-key-here
warning
Never expose your API key in client-side code. Always make requests from a server.