> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aireserve.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an API key

> Every request authenticates with a single bearer key issued from your AI Reserve workspace — no region, no credential chain, no IAM role, and no signing.

Every request authenticates with a single bearer key issued from your
[AI Reserve workspace](https://portal.aireserve.com/profile#api-keys) (Profile → My API Keys;
you'll be asked to sign in first) — keys look like `aireserve_api_…` (older
`audacity_api_…` keys keep working). There is **no region, no credential chain,
no IAM role, and no signing**. The SDKs resolve the key the way the AWS SDKs resolve
credentials, in priority order:

| Priority | Source                                                                    |
| -------- | ------------------------------------------------------------------------- |
| 1        | Explicit constructor / builder value                                      |
| 2        | `AUDACITY_API_KEY` environment variable (base URL: `AUDACITY_BASE_URL`)   |
| 3        | Defaults — base URL `https://api.aireserve.com`, timeout 120 s, 2 retries |

If no key can be resolved, the SDK fails fast with a clear client-side error
(`MissingApiKeyError` or the language equivalent) — before any network call is made.
Keep keys in a secret manager or environment variable; never commit them.

<Card title="Get an API key" icon="key-round" href="https://portal.aireserve.com/profile#api-keys" horizontal>
  Sign in to the portal and create a key under Profile → My API Keys.
</Card>
