Mutation / devices
upsertMetric
Create or update a metric. Requires metric:write permission.
Arguments
inputUpsertMetricInput!Metric data
Returns UpsertMetricPayload!
Explore in a view
View exact SDL
"""Create or update a metric. Requires metric:write permission."""
upsertMetric(
"""Metric data"""
input: UpsertMetricInput!
): UpsertMetricPayload! @topic(names: ["devices"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.