get_api_operator_v1_usage_readers
const url = 'https://example.com/api/operator/v1/usage-readers';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/operator/v1/usage-readersList every declared usage reader with its instance switch, ToS note and instance-wide health using the authorized operator credential.
Responses
Section titled “Responses”OK
One declared reader, its instance switch and its aggregated health.
object
measured | header | estimate | definition.
How many credential-reader pairs this declaration currently reads in the workspace (0 = declared but unused here).
The operator switch in force (owner decision D1: ON when unset).
The worst health of those pairs: ok (last read succeeded), failing
(consecutive failures), never (declared, never attempted), disabled.
False while the declaration is still Pending (no implementation in this
build). A surface must say so instead of implying a live reader.
official | headers | harness_local | back_door | own_metering |
definition - the section 6 ladder position.
The typed failure class of the worst pair, when it is failing.
The providers it reads; empty = every provider.
server | harness - where the read happens.
WHO last set the switch, when it is not the built-in default.
The ToS/risk note shown at enable time (section 6’s back-door contract).
Example generated
[ { "backoff_until": "2026-04-15T12:00:00Z", "class": "example", "consecutive_failures": 1, "credential_count": 1, "enabled": true, "health": "example", "implemented": true, "ladder": "example", "last_error_class": "example", "last_success_at": "2026-04-15T12:00:00Z", "providers": [ "example" ], "reader": "example", "scope": "example", "switch_reason": "example", "switched_at": "2026-04-15T12:00:00Z", "switched_by": "example", "tos_note": "example" }]