XentrDeveloper Docs
API ReferenceMonitoring

Query machine state history with time-bucket aggregation

GET
/api/factories/{factoryId}/monitoring/machine-states
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory ID

Query Parameters

machineId?string

Filter by machine ID

from?string

Start time (ISO 8601)

to?string

End time (ISO 8601)

bucket?string

Time bucket interval (e.g., "5 minutes", "1 hour")

Response Body

curl -X GET "https://api.xentr.ai/api/factories/string/monitoring/machine-states"
Empty