Returns individual production intervals (status logs) for a specific design across multiple machines. Returns each state transition with start/stop timestamps as strings (Unix milliseconds). Numerical values are returned as strings for legacy compatibility. pastTime is the interval duration in ms.
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. |
designId | string (query) | yes | Design ID to report on. |
designStitches | integer (query) | yes | Expected stitch count of the design. |
Response (200 OK)
| Field | Type | Description |
|---|---|---|
data[].machineId | string | |
data[].machineName | string | |
data[].designId | string | |
data[].designName | string | |
data[].stitches | string | Design stitch count (string). |
data[].status | string | ZSK status code (string). |
data[].start | string | Start timestamp (Unix ms). |
data[].stop | string | Stop timestamp (Unix ms). |
data[].pastTime | string | Duration of the interval (ms). |
data[].counter | string | Interval occurrence counter (usually 1). |