Documentation Index
Fetch the complete documentation index at: https://astralform.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
API keys authenticate requests from your iOS app to Astralform. Each project can have multiple API keys for different environments or purposes.Generating an API Key
- Open your project in the dashboard
- Go to Settings > API Keys
- Click Generate New Key
- Copy the key immediately - it won’t be shown again
Key Format
API keys follow this format:af_- Astralform prefixlive_- Environment (live or test)xxxx...- Random identifier
Using API Keys
Include the key in all API requests:Rotating Keys
To rotate a key without downtime:- Generate a new key
- Update your app to use the new key
- Deploy the updated app
- Delete the old key
Revoking Keys
If a key is compromised:- Go to Settings > API Keys
- Find the compromised key
- Click Revoke
- Generate a new key and update your app
Best Practices
| Do | Don’t |
|---|---|
| Store keys in secure storage (Keychain) | Hardcode keys in source code |
| Use different keys per environment | Share keys across projects |
| Rotate keys regularly | Commit keys to version control |
| Revoke unused keys | Leave old keys active |
Rate Limits
API keys have the following default limits:| Plan | Requests/min | Requests/day |
|---|---|---|
| Free | 60 | 1,000 |
| Pro | 300 | 50,000 |
| Enterprise | Custom | Custom |
Next Steps
LLM Providers
Configure which AI models to use
iOS SDK
Configure the SDK with your key
