Analyzes threadbreak distribution across machine components (heads and needles) to identify persistent mechanical issues or problematic thread/needle combinations.
- Grouping: Head and Needle (HN), Head only (H), or Needle only (N).
- Bobbin filter: include or exclude bobbin threadbreaks (needle = 0).
- Ordering: results ordered by machine then by threadbreak frequency (highest first).
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". |
shift | string (query, JSON) | no | Optional shift filter. |
includeBobbinThreadbreaks | boolean (default false) | no | Include bobbin threadbreaks if true. |
grouping | string enum=HN|H|N (default HN) | no | Grouping mode. |
Response (200 OK)
| Field | Type | Description |
|---|---|---|
data[].id_machine | string | |
data[].machine_name | string | |
data[].head | integer | Head number. |
data[].needle | integer | Needle number. |
data[].threadbreaks | integer | Number of threadbreaks for this combination. |