Create one
The secret appears once, right after creation:
What the list shows
Per key: its prefix (apk_org_live_1a2b3c4d…), its permissions, the
per-request limit, what it has spent this month against its monthly limit, when
it expires, and when it was last used. A key that has never been used says so.
Limits
Both ceilings are enforced twice: when a plan is approved and again when each call reserves its money, under a lock. Parallel calls cannot overspend between them.- Per request rejects a call whose maximum cost is too high, before paying.
- Monthly counts every charge of this key this calendar month; reservations count while held, refunds count for nothing.
- The balance is the organisation’s main balance, shared by all its keys.
402 spend_limit_exceeded, naming which ceiling, and
nothing is charged.
Revoke
Revoking is immediate and cannot be undone. Requests with that key stop at once, including runs it had started but not dispatched. Other keys are unaffected. Revoked keys stay in the list, marked, so usage history keeps its name.Good practice
- One key per environment. Production and staging get separate keys, limits and usage lines.
- Rotate by overlap. Create the new key, deploy it, then revoke the old one.
- Set a monthly limit you would be comfortable losing. It is the ceiling on a mistake.
- Read usage per key with
GET /v2/usage, which is scoped to the calling key.

