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 Data | API Name | Data Type |
---|---|---|
Time in Cycle | timeInCycle | metric |
Downtime per Hour | downtime_hour | metric |
Utilization per Hour | utilization_hour | metric |
Anomalies per Hour | anomalies_hour | events |
Alerts Triggered per Hour | alerts_hour | alerts |