Get an Organisation's Devices Summary
Whole-fleet device counts for the console Fleet screen in one call — the
server-side counterpart of the client folds over the full device list
(fleetReal.ts::healthRows / deviceTypeShares / deviceSavingsLeg):
health-tone counts, type-bucket shares, and per-savings-leg device counts to
sit beside GET …/devices/savings?by=device_type. Operational (non-soft-
deleted) devices only.
Restricted to support and admins, plus Console Support agents reading across organisations.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The organization ID of the user's organization
Response
OK
Whole-fleet device counts over the org's operational (non-soft-deleted) devices.
health_tones and type_shares each sum to the operational-device total;
savings_leg_counts covers only devices with a savings leg (wallboxes and
devices without a mapped type have none).
not_steered is the muted management bucket — connected and reporting, but nobody is
steering it — so it is disjoint from the three health severities, not a subset of them.
Operational devices per Support category, a device counted under a category when it holds a pending cue of it, and under none when it holds none.
Operational devices per service-health verdict, read from the device status projection (a device not yet swept counts as unknown).
Soft-deleted devices of every kind, outside every count above.
