Detailed productivity report per machine and design. Tracks running time, completed passes and total stitches for each design. Threadbreaks are correlated to the design active at the time. Total stitches = design stitch count × passes.
Authentication
Requires the X-API-Key header.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | integer (query, Unix s) | yes | Start of time range. |
till | integer (query, Unix s) | yes | End of time range. |
machineIds | string (query) | yes | Machine IDs or "all". |
locationId | integer (default 0) | no | Optional location filter. |
shift | string (query, JSON) | no | Optional shift filter. |
includeBobbinThreadbreaks | boolean (default false) | no | Include bobbin threadbreaks if true. |
designId | string (query) | no | Optional design ID filter; empty = all designs. |
designStitches | integer (query) | no | Stitch count of the design (required when designId is set). |
Response (200 OK)
| Field | Type | Description |
|---|---|---|
data[].machineId | string | |
data[].machineName | string | |
data[].designId | string | |
data[].designStitches | integer | |
data[].runningTime | integer | Total running time in seconds. |
data[].totalStitches | integer | designStitches * passes. |
data[].passes | integer | Number of completed pattern passes. |
data[].threadbreaks | integer |