Skip to main content
POST /v1/create-metric
This endpoint is deprecated. Use POST /v2/create-metrics instead.
Creates one custom metric. summary is the short description shown with the metric. Link it to agents with agent_id or agent_ids. POST /v1/create-custom-metric is the deprecated path of this endpoint.

Headers

Request body

Response

Status codes

Example request

Example response

200
Last modified on November 16, 2026