Appearance
UpdateMetricInput
Type: Input
Input for updating a metric. Only provided fields are changed.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| customUnit | String | Vertical-specific unit name when unit is CUSTOM (e.g. SHEETS, BOTTLES). Required when unit is CUSTOM. | |
| description | String | Description of what this metric measures | |
| deviceId | DeviceID | Associated device ID | |
| displayName | String | Human-readable display name | |
| kind | MetricKind | Metric kind | |
| name | String | Machine-readable metric name | |
| tags | [DictionaryInput!] | Key-value metadata tags | |
| unit | MetricUnit | Measurement unit. Use CUSTOM for vertical-specific units. | |
| workCenterId | WorkCenterID | Associated work centre ID — links this metric to a specific machine or station |