Authentication
API Keys
Create a key and inspect its spend limit and usage.
Create an inference key in /settings/keys and send it as Authorization: Bearer sk-pg-v1-....
Keys can have a name, spend limit, and expiry.
Keep the key secret and revoke it if exposed.
GET /auth/key reports the current key's limit, remaining balance, and usage.
The recorded current-key response is in tests/fixtures/auth-key/auth_key.json.