This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:




    input UpdateVisualizationMetricInput!

    Input sent to the updateVisualizationMetric mutation

    UpdateVisualizationMetricInput fields

    metricId ID!

    The identifier of the metric you are updating

    name String!

    The human-readable name of the metric

    productId ID!

    The identifier (uuid) of the product that this metric belongs to

    datasetId ID!

    The identifier of the dataset that this metric pertains to

    revisionId Int!

    The dataset revision id that this metric pertains to

    filters [VisualizationMetricFilterInput]

    The filters that are available for this metric to modify the metric query at runtime

    query String!

    The SQL query that will be executed when this metric is executed

    Return Fields

    metric VisualizationMetric

    The updated metric

    userErrors [UpdateVisualizationMetricUserError!]

    Error details while updating metric

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.