Authorization header. No OAuth, no per-tenant prefixes, no separate
session — one key, one user, scoped to your subscription tier.
Header format
pql_live_d7b9… (48 chars total). On the
development build of the website you’ll get pql_test_… keys
instead — same shape, hits the same staging endpoint.
Mint a key
Open the keys page
Create
Click Create key, give it a label (
bot-prod, laptop-jupyter, etc.).
The full token displays once — copy it immediately.Test it
/health does NOT require auth — it’s the cheap way to verify the API
is reachable. Every /v1/* endpoint does.
Errors
| Status | Meaning |
|---|---|
401 | Missing / malformed Authorization header, or key revoked. |
403 | Key valid but your tier doesn’t include this endpoint (e.g. /v1/backtest/sweep on Free). |
429 | Rate limit exceeded — see Rate limits. |