Stats API

This API provides stats for the Machines

This API allows customers to query the machine data via API

curl -X POST \ https://api.toolscribe.co/machines/1YGTEER/stats \ -H 'Authorization: Bearer API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "start": "2021-09-09T00:00:00Z", "end": "2021-11-09T00:00:00Z", "data": [{ "metric": "timeInCycle" }] }

Every query requires a time range (start and end date). Maximum data is for 90 Days.

In the above example, We are querying from September 9th 2021 to November 9th 2021.

On Data : We are requesting for in-cycle time. This is across the entire period of time that a machine was monitored with our product.

Supported DataAPI NameData Type
Time in CycletimeInCyclemetric
Downtime per Hourdowntime_hourmetric
Utilization per Hourutilization_hourmetric
Anomalies per Houranomalies_hourevents
Alerts Triggered per Houralerts_houralerts