DiagAI API
Integrate DiagAI directly into your MES, SCADA, or CMMS. Push sensor readings, retrieve anomaly alerts, and manage maintenance tasks programmatically.
Quick start — ingest a reading
"air_temperature": 298.1,
"process_temperature": 308.6,
"rotational_speed": 1551,
"torque": 42.8,
"tool_wear": 0,
"machine_type": "M"
Endpoints
/api/sensor/ingestSubmit a sensor reading. Returns ensemble anomaly score, severity, and workflow_id if RCA is triggered.
/api/dashboard/summaryFleet overview — total equipment, active alerts, anomalies in last 24h, open maintenance tasks.
/api/equipmentList all registered equipment with current health scores and status.
/api/equipment/{id}Get full detail for a single piece of equipment.
/api/equipmentRegister a new piece of equipment in the fleet.
/api/alertsList all active alerts, filterable by severity and acknowledged status.
/api/alerts/{id}/acknowledgeAcknowledge an alert. Removes it from the active alerts count.
/api/sensors/historyRetrieve sensor reading history for an equipment ID over a configurable time window.
/api/maintenance/tasksList all maintenance tasks with status (open / in_progress / done).
/api/maintenance/historyLog a completed maintenance event to the permanent history.