Operate provider usage readers
A usage reader is one backend capability: it calls a provider endpoint with a credential the instance already holds and stores what it learns. Readers are on by default (an owner decision); this page is how you see them, switch one off, and read why one is failing.
See the readers and their health
Section titled “See the readers and their health”- Open the operator console (
/operator) with an operator credential. - Open the Switches tab. Its usage readers panel lists every declared reader: its
class, where it reads (server or harness), its ladder position in the provider table,
its ToS note, whether this build implements it, its switch, and its instance-wide
health.
GET /api/operator/v1/usage-readersreturns the same list. - Health is one of
ok,failing,never,disabled. A failing reader names the typed failure class of its worst credential pair —unauthorized,forbidden,not_found,rate_limited,server,malformed,transport,unsupported.


The same rows appear per workspace on Reports → Usage (the reader health line), so a workspace admin sees which of their credentials a reader cannot read.
Switch one reader off
Section titled “Switch one reader off”PUT /api/operator/v1/usage-readers/{reader}with{"enabled": false, "reason": "…"}.- The reason is required and is stored with the decision.
- The switch is instance-wide and takes effect on the next read. It is audited as
usage_reader_disabled(andusage_reader_enabledwhen turned back on).
Set the notification thresholds
Section titled “Set the notification thresholds”GET /api/operator/v1/usage-alert-thresholdsreads the pair in force (default80,95).PUT /api/operator/v1/usage-alert-thresholdswith{"value": "80,95", "reason": "…"}.- A malformed or out-of-range value falls back to the built-in pair instead of silencing the notices; the stored value is exactly what the announcer uses.
- The boot log line names the pair and the reader switches in force.
Read the audit trail
Section titled “Read the audit trail”| Action | Written when | Payload |
|---|---|---|
usage_refresh_requested |
A surface asks for a read | credential id, kind, provider, surface |
usage_reader_enabled / usage_reader_disabled |
An operator flips a switch | the new state, the class and the ladder position |
usage_reader_broken / usage_reader_recovered |
A credential’s read fails a third time in a row for a reason that is not the credential’s (anything but unauthorized / forbidden) / that broken streak ends |
the reader, provider, credential kind, typed class and streak length |
usage_alert_thresholds_set |
The threshold pair changes | the pair |
dispatch_blocked_by_quota |
A dispatch gate refuses on a reading | the reading id the decision used |
No audit row carries a token, a response body or a reading value. The rows are on the
workspace audit board (/reports/audit) and the operator audit board
(GET /api/operator/v1/audit).
When a reader is failing
Section titled “When a reader is failing”- Read the typed class:
unauthorizedmeans the credential must be reconnected (the instance does not retry it);rate_limitedmeans the provider stated a wait and the reader honours it;malformedmeans the provider’s shape moved and the reader is broken until it is pinned again — that is a finding, not a zero. - A failing reader never writes a zero reading. The last good reading stays visible with its age until its freshness band passes.
- While any enabled reader is broken on some credential, the
SupaCloudUsageReaderBrokenoperator alert fires (supacloud_dispatch_alert{kind="usage_reader_broken"}). A reader you switch off stops counting, and a credential that only needs reconnecting never pages.