Skip to content

UpsertMetricInput ​

Type: Input

Input for creating or updating a metric

Fields ​

NameTypeDefaultDescription
customUnitStringVertical-specific unit name when unit is CUSTOM (e.g. SHEETS, BOTTLES). Required when unit is CUSTOM.
descriptionStringDescription of what this metric measures
deviceIdDeviceIDAssociated device ID
displayNameStringHuman-readable display name
idMetricIDID for update; omit for create
kindMetricKind!Metric kind (required)
nameString!Machine-readable metric name (required)
tags[DictionaryInput!]Key-value metadata tags
unitMetricUnit!Measurement unit (required). Use CUSTOM for vertical-specific units.
workCenterIdWorkCenterIDAssociated work centre ID — links this metric to a specific machine or station

Connect machines, automate workflows, and build custom apps for print production.