Authentication

Secure your API requests with Bearer tokens. Learn how to create, manage, and rotate API keys.

Overview

Authenticated API routes accept Authorization: Bearer or x-api-key. If both are sent, they must match. The public GET /v1/models catalogue can be read without a key.

API key format

Aether API keys look like this:

sk-aetherapi-...

Keys start with sk-aetherapi-. Treat the rest as an opaque secret: its length and character set differ between key types.

Getting your API key

  1. 1Sign up or log in to the Aether API Dashboard
  2. 2Navigate to the API Keys section
  3. 3Click Create new key
  4. 4Copy the key and store it securely. It is only shown once

Using your API key

Include your key in the Authorization header of every request:

Authorization: Bearer sk-aetherapi-...

Security best practices

Important

API keys are scoped to their project. Requests use that project's credits, limits, and model access rules. Keep your keys secure and never expose them in client-side code.