Skip to main content
Infrastructure/Metrics Catalog

CreateMetric

Register a new metric definition in the catalog.

POST/api/v1/metrics

Operation ID

CreateMetric

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Body Fields

  • metric
    ObjectRequired

    Metric for this resource

    Example: (nested object)

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • data
    Object

    The data value

    Example: (nested object)