Early access · Private preview
Concepts
API keys
Create a key in the dashboard and send it as a bearer token.
API keys are how you call a Compiled Agent Model. The API is in early access, a private preview.
Create a key
- Open https://inferenceindex-app.web.app.
- Sign in with the same Google account as the InferenceIndex site, and enter your invite code.
- Get an API key in the dashboard.
The sign-in screen says to use the same Google account as the InferenceIndex site. Each invite code works once.
Send the key
Send the key on the request as a bearer token.
text
Authorization: Bearer YOUR_KEYPython sets it as api_key. TypeScript sets it as apiKey. Keep the key in an environment variable or a secret store. Do not commit it, and do not paste it into a chat.
If a key is exposed, stop using it and get a new key in the dashboard.