The Fremby ProAPI gives read-only access to your fleet's telemetry and daily aggregates.
Replace $TOKEN with your token (see Authentication).
The fleet:
curl -H "Authorization: Bearer $TOKEN" -H "Accept: application/json" https://proapi.fremby.no/api/bi/v5/fleet
One week of daily values per machine:
curl -H "Authorization: Bearer $TOKEN" -H "Accept: application/json" "https://proapi.fremby.no/api/bi/v6/timeseries/dailysnapshot?rangeStart=2024-03-01&rangeEnd=2024-03-07"
Send Authorization: Bearer <token>. Create the token on your organization's API keys page in the Fremby app, https://app.fremby.no/<org>/organization/api-keys; this needs Fremby Insight. A personal token that covers more than one organization also needs the orgID parameter.
Choose the format with Accept: application/json, application/stream+json (newline-delimited JSON) or text/csv. Each endpoint lists the formats it offers. Where CSV is offered, it is the default.
Identifiers are opaque strings. Pass them back unchanged.
equipmentProfileID / equipmentID: two names for the same id, the id from /bi/v5/fleet or /v1/project/fleet. It is not the fleet row's equipmentID field.projectID: the id from /v3/projects.digitalEquipmentID: from /bi/v1/equipment/telemetry.locationID: the id from /bi/v1/location/timeseries/dailysummarizedsnapshot. Add fullRange=true to list every location.workSiteID, shareContractID, shareConnectorID: not listed by this API.Timestamps are UTC, RFC 3339.
Each report has its own version, for example /bi/v5/fleet and /bi/v6/timeseries/dailysnapshot. Use the highest version of each report. Older versions are marked deprecated. Errors are RFC 7807 application/problem+json.
Every equipment that has belonged to the fleet, with its current attributes.
Raw and per-sample measurement series for individual equipment and metrics.
Pre-aggregated daily values (last-24h and cumulative) per equipment, location, project or work site.
Project listings and project-scoped equipment reports.
Share-contract, work-site and connector reports for shared equipment.