/v1/health requires an API key. Keys are scoped to a developer account and to a tier (Free or Partner).
Header
Pass your key as a Bearer token. There is no other supported transport — keys in query strings are rejected with a400 so they can’t end up in server logs or browser history.
live_ prefix is meaningful. Any key starting with elestrals_test_ is reserved for a future sandbox and won’t authenticate against the production API today.
Failure modes
| Status | Code | What happened |
|---|---|---|
| 401 | unauthorized | Missing, malformed, revoked, or unknown key. |
| 400 | bad_request | Key was passed as a query parameter. |
request_id you can quote in support requests.
Where to get a key
Sign in to the developer portal
Visit developers.elestrals.com and sign in. First-time visitors verify their email and accept the Developer Agreement.
Free tier: mint a key
From your dashboard, click Create key, label it (e.g.
local-dev or production), and copy the raw key shown once at creation.Rotating a key
Keys don’t expire on a schedule. Rotate them when:- A teammate with access to the key has left.
- A key was committed to a public repo or pasted in a shared chat.
- You want to compartmentalize traffic by environment.
Deploy with the new key
Update your application to read the new key. Keep the old one valid during the rollout so you have a rollback path.
Revoke the old key
Once the new key is in production and traffic on the old key has drained — confirm in Monitor your usage — revoke the old key. Revocation is immediate.
unauthorized on the next request, the same code as an unknown key. The usage dashboard shows the revocation timestamp so you can confirm it took effect.