Authentication
Authenticate API requests using a Pura LLM API key in the Authorization header.
Getting an API key
API keys are created and managed from the Pura LLM console:
- Create an account or sign in to the console
- Go to API Keys and create a new key with a descriptive name
- Copy the key immediately — it is shown only once
- Use the key as Bearer token in your API requests
Manage keys in the API Keys section
Authorization header
Include your API key in every request:
Authorization: Bearer YOUR_API_KEYSecurity best practices
Never expose API keys in client-side code or public repositories. Use environment variables and rotate keys if compromised. Set per-key budget limits in the console.