Organizations
Get Usage
Get beacon usage for the current billing period (calendar month).
Pass ?by_site=true to include per-site breakdown.
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
uuidQuery-Parameter
by_site?By Site
Include per-site breakdown
Default
falseResponse-Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/usage"{ "total_beacons": 0, "period_start": "2019-08-24T14:15:22Z", "period_end": "2019-08-24T14:15:22Z", "sites": [ { "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811", "site_name": "string", "beacon_count": 0 } ]}{ "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": {} }}