Skip to main content


Creates a new Policy granting an Application access to a Metric's data.


  • input required CreatePolicyInput

    The fields for creating a Policy.

    • input.metric required ID

      The Metric to which the Policy will be applied.

    • input.type required PolicyType

      The type of Policy to create.

      The types of Policies that can be applied to a Metric.

      • ALL_ACCESS

        Grants access to all Metric data.


        Grants access to a specified tenant's Metric data.

    • input.application required ID

      The Application that will be granted access to the Metric.


Nullable PolicyResponse

The result of a mutation which creates or modifies a Policy.