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

  1. Log in to the Iteration Layer platform
  2. Navigate to API Keys
  3. Click Generate New Key
  4. 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