Sites
Get Org Sites Status
Beacon status for every site in the org in one call.
Org-scoped twin of get_site_status (same per-site fields), so the
dashboard header widget can render all sites without N status calls. One
ClickHouse aggregate grouped by site_id; sites with no beacons still
appear with zeroed counts. Ordering follows the site list (id/creation
order from the SELECT). Membership is enforced by OrgMember.
Authentifizierung
bearerAuth AuthentifizierungBearer <token>
API token generated from the fastmon dashboard (Account → API Token). Send as Authorization: Bearer fm_... or paste the full token (including the fm_ prefix) into the Authorize dialog.
In: header
Pfad-Parameter
org_id*Org Id
Format
uuidResponse-Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/sites/status"[ { "beacons_today": 0, "beacons_per_minute": 0, "last_beacon_at": "2019-08-24T14:15:22Z", "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811" }]{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}{ "error": { "code": "string", "message": "string", "request_id": "string", "doc_url": "string", "details": {} }}