Example
One customer, three integrations, one runaway
Say you sell a notes API with one tool, notes.search. Your customer Acme runs three integrations against it: a nightly sync that indexes Acme's notes, a chat assistant that answers staff questions, and a report builder that writes weekly summaries.
Give each integration its own agent key, tied to Acme and to the same plan. Counters are per key, so a loop in one integration cannot use up the others.
Set up
- Console → Customers: add Acme.
- Console → Plans: add a plan named
acme-notes, customer only Acme, toolnotes.search, period Month (UTC), 200 allows per period. New plans start in shadow. When the would-denies look right, switch the plan to enforce. - Console → Keys: create three test keys for Acme on
acme-notes, one per integration:acme-nightly-sync,acme-chat-assistant, andacme-report-builder. Put each secret in that integration's own config.
What happens
A bug makes the nightly sync loop. Its key uses its 200 allows, and its next call is denied because the usage limit was reached (quota_exceeded). The chat assistant and the report builder are on the same plan, but each key has its own count, so they keep getting allow until they reach their own 200. Only the nightly sync stopped.
Console → Decisions shows the key name acme-nightly-sync on each deny, so you know which integration to fix.
If all three had shared one key, the runaway sync would have used up that count and stopped the chat assistant and the report builder too.
That is why we recommend one agent key per integration or AI agent. A deny or a revoke then stops only that caller, and the customer's other integrations keep running.
After the fix
You can wait for the period to reset at the start of the next month (UTC), or move acme-nightly-sync to another monthly plan for Acme or to a shared monthly plan. The secret stays the same. This period's count carries over, and a key on a monthly plan can only move to another monthly plan.
Try it
Ordainer is free during the beta: sign up for test keys with 1,000 decisions a month, no credit card needed.
During the beta, all your test keys also share your organization's monthly test allowance, and only allowed decisions count toward it. A plan-cap deny on one key is different from that shared allowance running out.