XentrDeveloper Docs
API ReferenceDowntime

Manually log a downtime event (optionally pre-categorised). Used to log a current stoppage before the watcher catches it.

POST
/api/factories/{factoryId}/downtime/events
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory slug

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.xentr.ai/api/factories/string/downtime/events" \  -H "Content-Type: application/json" \  -d '{    "machineId": "string",    "startedAt": "2026-04-23T01:30:00Z"  }'
Empty