Fremby ProAPI Data Service

/swagger/doc.json

The Fremby ProAPI gives read-only access to your fleet's telemetry and daily aggregates.

Getting started

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"

Authentication

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.

Formats

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

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.

Dates

Timestamps are UTC, RFC 3339.

Versions and errors

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.

Fleet

Every equipment that has belonged to the fleet, with its current attributes.

GET
/bi/v1/fleet
Fleet list export (deprecated)
GET
/bi/v1/fleet/snapshot
Fleet snapshot (latest values per equipment)
GET
/bi/v4/fleet
Fleet list export (deprecated)
GET
/bi/v5/fleet
Fleet list export

Telemetry

Raw and per-sample measurement series for individual equipment and metrics.

GET
/bi/v1/digitalEquipment/telemetry
Data source telemetry report
GET
/bi/v1/equipment/telemetry
Equipment telemetry report
GET
/bi/v1/timeseries/cumulativeactiveregenerationhours
Active regeneration hours (cumulative)
GET
/bi/v1/timeseries/cumulativedistance
Distance (cumulative)
GET
/bi/v1/timeseries/cumulativeenergyaccharged
AC energy charged (cumulative)
GET
/bi/v1/timeseries/cumulativeenergycharged
Energy charged (cumulative)
GET
/bi/v1/timeseries/cumulativeenergydccharged
DC energy charged (cumulative)
GET
/bi/v1/timeseries/cumulativeenergyused
Energy used (cumulative)
GET
/bi/v1/timeseries/cumulativefuelused
Fuel used (cumulative)
GET
/bi/v1/timeseries/cumulativeidlehours
Idle hours (cumulative)
GET
/bi/v1/timeseries/cumulativeloadcount
Load count (cumulative)
GET
/bi/v1/timeseries/cumulativenonproductiveidlehours
Non-productive idle hours (cumulative)
GET
/bi/v1/timeseries/cumulativeoperatinghours
Operating hours (cumulative)
GET
/bi/v1/timeseries/cumulativepayloadtotal
Payload totals (cumulative)
GET
/bi/v1/timeseries/cumulativepowertakeoffhours
Power-take-off hours (cumulative)
GET
/bi/v1/timeseries/defremaining
DEF remaining (not yet implemented) (deprecated)
GET
/bi/v1/timeseries/enginecondition
Engine condition (not yet implemented) (deprecated)
GET
/bi/v1/timeseries/faults
Faults (not yet implemented) (deprecated)
GET
/bi/v1/timeseries/fuelremainingratio
Fuel remaining ratio (not yet implemented) (deprecated)
GET
/bi/v1/timeseries/locations
Equipment locations

Daily snapshots

Pre-aggregated daily values (last-24h and cumulative) per equipment, location, project or work site.

GET
/bi/v1/location/timeseries/dailylast24snapshot
Daily last-24h snapshot for a location
GET
/bi/v1/location/timeseries/dailysnapshot
Daily snapshot for a location (deprecated)
GET
/bi/v1/location/timeseries/dailysummarizedsnapshot
Summarized totals per location
GET
/bi/v1/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment (deprecated)
GET
/bi/v1/projects/timeseries/dailysnapshot
Daily snapshot across projects (deprecated)
GET
/bi/v1/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract (deprecated)
GET
/bi/v1/timeseries/dailyaverageengineloadfactor
Average engine load factor (daily)
GET
/bi/v1/timeseries/dailyfuelused
Fuel used (daily)
GET
/bi/v1/timeseries/dailypeakspeed
Peak speed (daily)
GET
/bi/v1/timeseries/dailysnapshot
Daily snapshot (active fleet) (deprecated)
GET
/bi/v1/work-site/timeseries/dailysnapshot
Daily snapshot for a work site (deprecated)
GET
/bi/v2/location/timeseries/dailysnapshot
Daily snapshot for a location
GET
/bi/v2/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment (deprecated)
GET
/bi/v2/projects/timeseries/dailysnapshot
Daily snapshot across projects (deprecated)
GET
/bi/v2/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract (deprecated)
GET
/bi/v2/timeseries/dailysnapshot
Daily snapshot (active fleet) (deprecated)
GET
/bi/v2/work-site/timeseries/dailysnapshot
Daily snapshot for a work site (deprecated)
GET
/bi/v3/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment (deprecated)
GET
/bi/v3/projects/timeseries/dailysnapshot
Daily snapshot across projects (deprecated)
GET
/bi/v3/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract (deprecated)
GET
/bi/v3/timeseries/dailysnapshot
Daily snapshot (active fleet) (deprecated)
GET
/bi/v3/work-site/timeseries/dailysnapshot
Daily snapshot for a work site (deprecated)
GET
/bi/v4/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment (deprecated)
GET
/bi/v4/projects/timeseries/dailysnapshot
Daily snapshot across projects (deprecated)
GET
/bi/v4/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract (deprecated)
GET
/bi/v4/timeseries/dailysnapshot
Daily snapshot (active fleet) (deprecated)
GET
/bi/v4/work-site/timeseries/dailysnapshot
Daily snapshot for a work site (deprecated)
GET
/bi/v5/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment
GET
/bi/v5/projects/timeseries/dailysnapshot
Daily snapshot across projects
GET
/bi/v5/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract
GET
/bi/v5/timeseries/dailysnapshot
Daily snapshot (active fleet) (deprecated)
GET
/bi/v5/work-site/timeseries/dailysnapshot
Daily snapshot for a work site
GET
/bi/v6/timeseries/dailysnapshot
Daily snapshot (active fleet)

Projects

Project listings and project-scoped equipment reports.

GET
/bi/v1/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment (deprecated)
GET
/bi/v1/projects/timeseries/dailysnapshot
Daily snapshot across projects (deprecated)
GET
/bi/v2/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment (deprecated)
GET
/bi/v2/projects/timeseries/dailysnapshot
Daily snapshot across projects (deprecated)
GET
/bi/v3/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment (deprecated)
GET
/bi/v3/projects/timeseries/dailysnapshot
Daily snapshot across projects (deprecated)
GET
/bi/v4/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment (deprecated)
GET
/bi/v4/projects/timeseries/dailysnapshot
Daily snapshot across projects (deprecated)
GET
/bi/v5/project/timeseries/equipmentdailysnapshot
Daily snapshot for a project's equipment
GET
/bi/v5/projects/timeseries/dailysnapshot
Daily snapshot across projects
GET
/v1/project/fleet
Equipment in a project
GET
/v1/projects
List organization projects (deprecated)
GET
/v2/projects
List organization projects (deprecated)
GET
/v3/projects
List organization projects

Sharing

Share-contract, work-site and connector reports for shared equipment.

GET
/bi/v1/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract (deprecated)
GET
/bi/v1/work-site/timeseries/dailysnapshot
Daily snapshot for a work site (deprecated)
GET
/bi/v2/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract (deprecated)
GET
/bi/v2/work-site/timeseries/dailysnapshot
Daily snapshot for a work site (deprecated)
GET
/bi/v3/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract (deprecated)
GET
/bi/v3/work-site/timeseries/dailysnapshot
Daily snapshot for a work site (deprecated)
GET
/bi/v4/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract (deprecated)
GET
/bi/v4/work-site/timeseries/dailysnapshot
Daily snapshot for a work site (deprecated)
GET
/bi/v5/share-contract/timeseries/dailysnapshot
Daily snapshot for a share contract
GET
/bi/v5/work-site/timeseries/dailysnapshot
Daily snapshot for a work site