API Interface Reference

Complete reference for all device and platform APIs. Use these endpoints to integrate edge devices and build custom integrations.

Quick Start — Edge Device Integration

1. Register your device via the Assembly Lines page (or POST /api/factory/devices).

2. Use the device's serial number as the identifier in all device API calls — no token required.

3. Push counts with POST /api/device/count and video frames with POST /api/device/stream.

4. The dashboard auto-refreshes every 30 seconds; video widgets poll every 1.5 seconds.

Edge Device APIs

Device → Platform

Endpoints called directly by registered edge devices to push data to the platform.

Factory Management APIs

Factory Manager

Endpoints for managing assembly lines and devices within a factory.

System Admin APIs

System Admin

Platform-level management endpoints. Require system administrator session.