Documentation Index
Fetch the complete documentation index at: https://docs.benchspan.com/llms.txt
Use this file to discover all available pages before exploring further.
Header
Every request must include:Getting an API key
Sign in at benchspan.com/login with Google. Your first-ever sign-in provisions a default key automatically (shown once in the welcome flow). Create additional keys any time in Dashboard → API Keys.Key format
- Prefix:
ag_live_ - Length: 40 characters total
- Random part: 32 hex characters (
[0-9a-f]{32})
ag_live_1a2b3c4d5e6f7890abcdef1234567890ab
Security practices
- Store in a secret manager. Environment variables +
.envfiles for local dev; cloud secret managers (AWS Secrets Manager, GCP Secret Manager, Vault, Doppler) for prod. - Never commit keys to source control. Add
.env*to your.gitignore. - Use separate keys for separate environments (dev, staging, prod). Easy to revoke without blast radius.
- Tag keys in the dashboard. Each has a
namefield so you can track where each is deployed. - Rotate on exposure. If a key is ever logged, committed, or leaked, revoke immediately from the dashboard.
Revocation
From Dashboard → API Keys, click Revoke on any key. Revocation is immediate; new requests using that key return401.
Errors
| HTTP | When |
|---|---|
401 Unauthorized | Missing Authorization header, or invalid / revoked / unknown key |
429 Too Many Requests | Rate limit exceeded |