The Reports endpoints provide aggregated production analytics derived from live machine logs (STATUS and MIN tables). All endpoints are read-only HTTP GET, require the X-API-Key header and return JSON.
This section is an overview – each individual report endpoint is documented in its own sub-page (Unterpunkt) listed in the left navigation under Reports.
Shared query parameters
Most report endpoints accept the following parameters (referenced as $ref in the OpenAPI spec):
| Name | Type | Required | Description |
|---|---|---|---|
from | integer (Unix seconds) | yes | Start of time range (e.g. 1700000000) |
till | integer (Unix seconds) | yes | End of time range (e.g. 1700086400) |
machineIds | string | yes | Comma-separated machine IDs or "all" (e.g. "26027,26028") |
locationId | integer (default 0) | no | Filter by location. 0 = all locations. |
shift | string (JSON) | no | Shift filter, e.g. {"from":"06:00","to":"14:00"}. Cross-midnight ranges supported. |
includeBobbinThreadbreaks | boolean (default false) | no | If true, include bobbin threadbreaks (needle = 0). |
Endpoints in this section
GET /reports/stitches– Stitches by patternGET /reports/threadbreaks– Threadbreaks grouped by head/needleGET /reports/machine-summary– Machine summaryGET /reports/average-rpm– Average RPM per machineGET /reports/machine-productivity– Machine productivityGET /reports/runningtime– Running time statistics per designGET /reports/productiontime– Production time statistics per designGET /reports/shift-comparison– Shift comparisonGET /reports/time-comparison– Time comparison (monthly aggregation)GET /reports/threadbreaks-by-machine– Threadbreak event logGET /reports/threadbreaks-by-machine/aggregated– Aggregated threadbreak counts by head/needleGET /reports/threadbreaks-by-design– Threadbreaks by designGET /reports/design-summary– Detailed design status intervalsGET /reports/daily-design– Daily production by designGET /reports/number-of-pieces– Number of pieces producedGET /reports/operator-overview– Operator productivity overview