Iteration Layer

Authentication

All API requests require authentication via a Bearer token in the Authorization header.

How Authentication Works

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 scoped to a project and work across all APIs. Budget caps are set at the project level to limit credit consumption across all keys in that project.

How to Keep API Keys Secure

  • Never expose API keys in client-side code
  • Use environment variables to store keys
  • Rotate keys regularly
  • Set project budget caps to prevent runaway usage