API Keys
Generate aitz_* API keys for programmatic access to Aithroyz — create plans, trigger deployments, query environment status, and export Terraform configs.
API keys are scoped to your workspace and carry the same permissions as your account role. All API activity is logged in the Audit Log. Keys can be revoked at any time from Settings → API Keys.
Creating a key
1
Open Settings → API Keys
Navigate to the API Keys tab in your workspace settings.
2
Click Create key
Give the key a descriptive name (e.g. ci-pipeline or claude-mcp) so you can identify it later.
3
Copy the key immediately
The full key value is only shown once. Copy it now and store it in a secrets manager or .env file.
Using the API
Pass your key as a Bearer token in the Authorization header:
curl https://dashboard.aithroyz.com/api/environments \
-H "Authorization: Bearer aitz_your_key_here"⚠
Never commit API keys to version control. Use environment variables or a secrets manager. If a key is exposed, revoke it immediately from Settings → API Keys and create a new one.