Skip to main content

API key format

AtlasFlux API keys follow this format:
Examples:
  • af_live_a1b2c3d4e5f6... — Production key
  • af_test_a1b2c3d4e5f6... — Development key
The first 14 characters serve as the prefix and are stored in the database for lookup. The full key is only shown once at creation.

Creating keys

Create API keys from the Developer Dashboard:
  1. Click Create API key
  2. Enter a name
  3. Select environment (test or live)
  4. Optionally set a monthly spend limit
  5. Copy the full key — it will not be shown again

Key prefixes

The prefix is visible in the Dashboard and in request logs:

Key management

  • View — See all keys in the Dashboard (prefix only, not full key)
  • Rename — Change the key name
  • Revoke — Immediately invalidate a key
  • Revoke all — Immediately invalidate every active key for the account

Spending limits

You can set a monthly spend limit per key and an account-wide monthly limit in the Dashboard. AtlasFlux checks the estimated reservation before execution. A request that would exceed either limit receives a 402 spend_limit_exceeded response.