api
Authentication & API Keys
How API keys work, rotate, and revoke
API keys
Every request requires an X-API-Key header. Keys are scoped to your account.
Key format
Live keys start with ag_live_. Demo keys start with ag_demo_. Free-tier keys start with ag_free_.
Rate limits
Response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. On quota exceed, HTTP 429.
