API ReferenceDowntime
Re-scan a window for state transitions and backfill events
Authorization
bearer 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/scan" \ -H "Content-Type: application/json" \ -d '{ "from": "2026-04-22T00:00:00Z", "to": "2026-04-23T00:00:00Z" }'Empty