Skip to content

Metrics

Add Metric

Method: Post

Path: /api/v1/metrics

Payload:

{
  "metric_name": "<string>",
  "metric_description": "<string>",
  "metric_type": "<string>",
  "metric_unit": "<string>",
  "onduplicate_fail": "<boolean>",
  "decimal_precision": "<integer>",
  "metric_granularity": "<string>"
}
Returns: Metric ID