Skip to content

get_api_operator_v1_usage_readers

GET
/api/operator/v1/usage-readers
curl --request GET \
--url https://example.com/api/operator/v1/usage-readers

List every declared usage reader with its instance switch, ToS note and instance-wide health using the authorized operator credential.

OK

Media typeapplication/json
Array<object>

One declared reader, its instance switch and its aggregated health.

object
backoff_until
string | null format: date-time
class
required

measured | header | estimate | definition.

string
consecutive_failures
required
integer format: int32
credential_count
required

How many credential-reader pairs this declaration currently reads in the workspace (0 = declared but unused here).

integer format: int64
enabled
required

The operator switch in force (owner decision D1: ON when unset).

boolean
health
required

The worst health of those pairs: ok (last read succeeded), failing (consecutive failures), never (declared, never attempted), disabled.

string
implemented
required

False while the declaration is still Pending (no implementation in this build). A surface must say so instead of implying a live reader.

boolean
ladder
required

official | headers | harness_local | back_door | own_metering | definition - the section 6 ladder position.

string
last_error_class

The typed failure class of the worst pair, when it is failing.

string | null
last_success_at
string | null format: date-time
providers
required

The providers it reads; empty = every provider.

Array<string>
reader
required
string
scope
required

server | harness - where the read happens.

string
switch_reason
string | null
switched_at
string | null format: date-time
switched_by

WHO last set the switch, when it is not the built-in default.

string | null
tos_note
required

The ToS/risk note shown at enable time (section 6’s back-door contract).

string

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"
}
]