Documentation Index
Fetch the complete documentation index at: https://docs.aigmented.io/llms.txt
Use this file to discover all available pages before exploring further.
API Keys
All API requests require a Bearer token in theAuthorization header:
sk- and are created in the Dashboard under Settings → API Keys.
Required role
API access requires Moderator role or above in your team. Users with the basicUSER role will receive a 403 Forbidden response.
| Role | API Access |
|---|---|
| User | No |
| Moderator | Yes |
| Administrator | Yes |
Token limits
Every API call consumes tokens from your team’s subscription. The system enforces limits:- Before each request: Token availability is checked (
enforceTokenLimit) - After each request: Actual usage is tracked and deducted
429 Too Many Requests:
Error codes
| Status | Meaning |
|---|---|
401 Unauthorized | Missing or invalid API key |
403 Forbidden | User role insufficient (need Moderator+) |
404 Not Found | Collection not found or not owned by your team |
429 Too Many Requests | Token limit exceeded |