Skip to main content

Get an API key

Create an API key when your backend service, script, worker, or automation needs to call AIMP without a signed-in browser session.

Create a key

  1. Sign in to the product app.
  2. Confirm the active workspace.
  3. Open API Keys from the dashboard sidebar.
  4. Create a new key with a clear name, such as production-worker or staging-playground.
  5. Copy the key immediately. The full value is shown once.

Use the key

Send the key with the X-API-Key header:
For model runs:

Security rules

  • Do not store API keys in frontend code.
  • Use separate keys for production, staging, and local scripts.
  • Revoke keys that are leaked, unused, or owned by departed team members.
  • Rotate keys intentionally; do not rely on hidden retries or fallback keys.

Browser apps

Signed-in browser flows use Authorization: Bearer <access_token> managed by the product app. Long-lived API keys are for server-side use.