Metrics API

Manage the metrics in your analytic model.

Alpha

Access requirements

To use APIs, you must have a Visier account and authenticate. For more information about authenticating, see API Authentication.

Custom profiles with one of the following capability sets:

  • Model (Read, API)
  • Model (Write, API) and Direct Publish (if ProjectID header is not used) required for creating, updating, and deleting

Reach out to your administrator for access.

Overview

A metric in Visier is a business concern that can be quantified as a number. Use Visier APIs to create, update, and delete metrics or retrieve your existing metrics. For more information about metrics, see Work With Metrics.

The Metrics API improves on the existing metric-related Data Model API endpoints with the ability to filter your GET requests to specific metric types or analytic objects, and the option to create, update, delete metrics.

You can use the Metrics API to:

  • Retrieve a list of all metrics
  • Retrieve all the metrics for a specific analytic object
  • Create new metrics
  • Update existing metrics
  • Delete metrics

Tip: If you submit API requests for changes that cause a project to publish to production, each request is individually published to production, resulting in hundreds or thousands of production versions. We recommend that you use the ProjectID request header to make changes in a project. For more information, see Projects API.