← API reference
CANONICAL TYPE REFERENCE

UpsertMetricPayload

Result of creating or updating a metric

The created or updated metric

Validation errors if the operation failed

View exact SDL
"""Result of creating or updating a metric"""
type UpsertMetricPayload {
  """The created or updated metric"""
  metric: MetricState
  """Validation errors if the operation failed"""
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.