Documentation Index
Fetch the complete documentation index at: https://docs.a21e.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
API keys authenticate your requests to the a21e API. Each key is scoped to your user account and optionally bound to a specific workspace.Creating a key
- Go to Settings > API Keys in the dashboard
- Click Create API key
- Optionally bind the key to a workspace (for automatic preference and repo context)
- Copy the key — it’s only shown once
Key format
a21e API keys use the prefixa21e_ followed by a random string:
Authentication
Include your API key in theAuthorization header:
Workspace-bound keys
When you bind a key to a workspace, all requests with that key automatically inherit:- Repository context (if a repo is connected)
- Workspace preferences (model tier, verbosity, etc.)
- Persona directives
- Org-level policies
Revoking a key
Security best practices
- Never commit API keys to source control
- Use workspace-bound keys for production services
- Rotate keys periodically
- Use separate keys for development and production