hpx_, and shown once at issuance.
Two ways to present the same key
X-API-Key header
Authorization: Bearer
Deterministic DRG classification
PHI-safe chat, through the OpenAI SDK
Scopes
A key may be issued with scopes that narrow which endpoints it can reach:drg:classify, llm:chat, redact, search.
An out-of-scope call returns 403, and the body names the scopes your key
holds. That is a request for access, not a reason to rotate the key.
Rotation, expiry and sandbox keys
Rotate without downtime
Rotate without downtime
Your organization can hold two active keys at once. Request a new key,
migrate your traffic, then we revoke the old one. Revocation takes effect on
the very next request and is audit-logged.
Expiry
Expiry
Pilot keys expire — 12 months by default. Ask us before expiry; a lapsed key
fails closed with a 401 rather than degrading.
Sandbox keys
Sandbox keys
For integration testing: metered but never invoiced, with a separate small
spend allowance, so a test loop can neither bill you nor block your
production key.Synthetic data only. A sandbox key carries the same PHI handling as a
production one, but the allowance is not sized for real workloads.

