Home · Guides · Idle Key Audit
Why do idle API keys matter for both cost and security?
By the Ingenious AI team · Published 2026-11-14 · Reviewed 2026-11-14
Short answer: An idle key — in OutcomeMeter's waste report, a provider key or grouping with no spend for 14 days after positive lifetime spend — is two findings in one. As hygiene, it is standing spend authority nobody is using: a forgotten experiment's key, a departed contractor's credential, a pilot that ended without cleanup, any of which can spend again the moment something (or someone) finds it. As diagnostics, a grouping that suddenly goes idle can be the first sign of a workflow that broke silently. Both readings end the same way: revoke, reassign or explain — in writing.
Try the free demo measurement See pricing Start free — one provider key
What is an idle key?
An idle key is a provider API key or grouping that has recorded positive lifetime spend but no spend in the recent window — 14 days in OutcomeMeter's waste report finding. The finding labels its basis precisely (lifetime spend existed, recent spend is zero, threshold 14 days) and frames the key as a candidate for revocation, not a verdict: the audit decides what the key was for and what should happen to it.
Keys accumulate; nothing natural removes them
Organizations mint keys enthusiastically and revoke them almost never, because minting is attached to a project with energy and revoking is attached to nothing at all. Each project, pilot, contractor and integration leaves a key behind, and each key remains live spend authority until someone deliberately retires it. The set only grows; the knowledge of what each key is for only shrinks. That asymmetry is the whole problem, and a periodic audit is the only known counterweight.
The waste report's idle finding gives the audit its sharpest tool: rather than reviewing every key equally (a list long enough to guarantee a shallow review), start with the keys demonstrably unused — lifetime spend proving they were real, recent silence proving they are not currently load-bearing. Each idle key is a small, answerable question instead of an inventory of hundreds.
The security reading: standing authority with no owner
An unused key in a drawer is a credential that can spend your money the day it leaks — and unused keys leak quietly, because nobody watches their usage (there is none to watch) and nobody notices their absence. Keys belonging to departed staff and finished vendors are the classic case: the relationship ended, the access did not. Security teams phrase this as attack surface; finance should phrase it as unmonitored budget authority. Both phrases argue for the same rota: ownership per key, reviewed on a cadence, with departure and project-end checklists that name revocation explicitly.
The audit question per idle key is therefore never only 'may we revoke it?' but 'who can still use this, and how would we know?' If the honest answer is 'anyone who kept a copy, and we wouldn't', the key is revoked in that meeting, and the replacement (if the work ever resumes) is minted fresh under a named owner.
The diagnostic reading: silence as a symptom
Idle groupings deserve a second look before revocation, because a workflow that stops spending has sometimes stopped working. A nightly process whose upstream feed died, an integration whose credentials expired on the provider side, a client workflow paused by a departed employee's calendar — all present as peaceful zero spend. The waste report flags the stop; a human asks the workload's owner whether the silence is retirement or failure.
This is the finding that repays the whole audit in one catch: a revenue-relevant workflow discovered broken via its missing spend, weeks before a customer reports the missing outputs. Cost data is operational telemetry whether you intended it or not; the audit is where someone finally reads it that way.
What 'revoke, reassign or explain' looks like in practice
Revoke: the work is over, the owner is gone, the pilot concluded. Delete the key at the provider, record the revocation in the audit trail, done. Reassign: the work continues but its ownership moved — the key (or a fresh one) is placed under the current owner's name and purpose, so the next audit finds a person, not a mystery. Explain: the key is deliberately dormant — a seasonal workload, a disaster-recovery standby — and the explanation is written beside the key with the date it next expects to spend, so next quarter's audit inherits the knowledge instead of re-deriving it.
The written part is the system. Explanations held in one person's memory retire when that person does; explanations in the audit record compound, and each successive audit gets shorter as the inventory's mysteries are permanently retired.
Cadence and the departure checklist
Quarterly, inside the broader spend audit, is the sustainable rhythm for the full inventory; the waste report's idle list can be scanned monthly in minutes for new silences. Two event-driven triggers matter more than any calendar: staff and vendor departures (revocation on the checklist, verified, not assumed) and project closures (the project's keys are part of its definition of done). Organizations that wire revocation into those two events find their quarterly audits shrink toward a formality — the inventory stays clean because the dirt never accumulates.
Pair the rota with a minting discipline: new keys are born with an owner, a purpose and a review date recorded. A key without those three facts should not be issuable under your process, because you have already seen — in this quarter's idle list — exactly what such keys become.
Run the idle-key audit: the 5-action checklist
Start from the waste report's idle findings, decide each key's fate in the room, and write the explanations where the next audit will find them.
- Pull the idle list: keys and groupings with lifetime spend and 14+ days of silence, straight from the waste report.
- Ask the silence question first: for each grouping, is the stop a retirement or a silent breakage? Check with the workload's owner before revoking anything load-bearing.
- Decide in the room: revoke, reassign to a named owner, or explain in writing with the date the key next expects to spend.
- Wire revocation into departures and closures: staff, vendor and project-end checklists name key revocation as a verified step, not an assumption.
- Mint with metadata: every new key is born with an owner, a purpose and a review date — or it is not issued.
Worked example: a fictional inventory shrinks by a third
A fictional consultancy, Ostra Labs, audits 41 keys. The waste report's idle list names 13. Investigation sorts them: five belong to finished pilots (revoked on the spot), three belong to a contractor whose engagement ended two months earlier (revoked, and the departure checklist gains a verification step), two are a seasonal client's standby pair (explained in writing, review date set for the season's start), one is a departed analyst's personal experiment key with lifetime spend of $212 (revoked, with feelings), and two turn out to be a reporting integration that broke silently six weeks ago — reassigned to its current owner and repaired, restoring a client report nobody had yet complained about.
The security outcome is a third fewer standing credentials. The operational outcome is arguably better: a broken integration found by its silence. Both came from reading one list of keys that had stopped spending — the cheapest audit in the building.
OutcomeMeter runs this measurement on your own provider spend: connect a key on the free tier, watch the demo measurement first if you want to see the shape of the output, and read accepted-outcome economics when you are ready to value accepted work. The guides index collects every guide in this series.
Frequently asked questions
What exactly triggers the idle finding?
A provider key or grouping with positive lifetime spend and no spend for 14 days. The finding states its basis — lifetime spend existed, recent spend is zero — and frames the key as a candidate for revocation or review, not a verdict.
Could an idle key be important?
Yes — seasonal workloads and standby credentials are legitimately dormant, which is why the audit's third outcome is 'explain': a written note with the expected next-spend date. Unexplained dormancy is the problem, not dormancy itself.
What if a grouping went idle because something broke?
That is the diagnostic reading, and it happens often enough to check first: ask the workload's owner whether the silence is retirement or failure before revoking. A workflow found broken through its missing spend is the audit paying for itself.
How does this relate to security?
Every live key is standing authority to spend. Keys outliving their owners and projects are unmonitored budget authority and classic attack surface. Revocation at departures and project closures — verified, not assumed — is the control; the idle list is its detection layer.
How often should keys be audited?
The idle list monthly (minutes), the full inventory quarterly inside the spend audit. The event-driven triggers matter most: departures and project closures should revoke by checklist, so the calendar audits stay short.
Keep reading
- What is an AI waste report, and what does it actually flag?
- What should an agency's AI spend audit actually check?
- What belongs in a quarterly AI spend cleanup?
- How do you group provider spend by project and key, and what does it reveal?
- What does it mean when your provider key lacks usage-API access?
- All OutcomeMeter guides
- Free demo measurement
- Accepted-outcome economics
- OutcomeMeter pricing — Free, Pro $29/mo, Agency $79/mo