Sonnely

Authentication

Bearer keys, budgets, revocation

All /api/v1/* calls need Authorization: Bearer sk-sonnely-....

Keys

Create keys in the console — one per app, teammate or environment. A key is shown once; only a hash is kept, so a lost key is replaced, never recovered.

  • Budgets — cap what one key can spend. Checked before the request runs.
  • Team scope — keys can draw from a shared team pool instead of personal balance.
  • Revoke instantly — revoking stops the next request. Past usage stays on record.

Treat a key like a card number: environment variable, never a committed file. A script in a retry loop can burn a balance in minutes — set a budget.

Errors

StatusMeaning
401Missing or unknown key
402Balance short — response names the credits needed
429Rate limited — back off and retry

Account login

The playground, console and account pages use email + password login (sign in). Wallet connection is for funding; API keys are for calling.

On this page