Authentication
All API requests require authentication via a Bearer token. Create and manage your API keys in the platform dashboard.
API Keys
All API requests require authentication via a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY
Creating API Keys
- Log in to the Iteration Layer platform
- Navigate to API Keys
- Click Generate New Key
- Copy the key — it will only be shown once
API keys are global and work across all APIs. You can set a per-key budget cap to limit credit consumption.
Key Security
- Never expose API keys in client-side code
- Use environment variables to store keys
- Rotate keys regularly
- Set budget caps to prevent runaway usage