v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Metrics

Register a new impact metric

Enterprise feature

Registers a new impact metric by pushing 0-values.

post/api/admin/impact-metrics/register

Request body

namestring required

The metric name. Must start with a letter or underscore and contain only alphanumerics, underscores or colons.

type'counter' | 'gauge' | 'histogram' required

The type of metric to register.

Example request

{
  "name": "checkout_completions",
  "type": "counter"
}

Response

This response has no body.