Credential formats
The API currently accepts two bearer credential formats:- Legacy API key
- Platform JWT
Opaque account API key. The server hashes the presented token with BLAKE3 and looks it up against stored account records.
Header
Bearer token. Missing headers return
401.Public routes
Health
GET /health is public and does not call the auth layer.Create account
POST /v1/accounts bootstraps account access and returns a raw API key once.Protected routes
Entity, proposal, formation, and billing read/upgrade routes require bearer auth. Ownership is enforced at the account boundary. Cross-account entity reads return404 rather than 403 to prevent enumeration.