Docs / Getting started

Authentication

Every API request authenticates with a Bearer key. Keys are created in the dashboard and start with sk_live_.

header
Authorization: Bearer sk_live_8c1f4a2e9b7d3f6a

For quick GET tests you can also pass ?api_key=sk_live_… as a query parameter — but prefer the header so keys never land in server logs or browser history.

Key lifecycle

Rate limits

Each key is limited to your plan's requests/second (1 / 5 / 10 / 20). Past the limit you get 429 rate_limited with a Retry-After header — wait that long and retry. Monthly quota is separate; see Errors for quota_exceeded.

Auth failures

401 · application/json
{
  "error": {
    "code":    "unauthorized",
    "message": "Invalid or revoked API key."
  }
}