CustomerMetrics
List available metrics
Returns the catalog of registered metrics that you can query via /v2/metrics/{metric_name}, both system metrics and the account's custom metrics. Use it to discover metric names, types, and dimensions.
get/v2/metrics
Query parameters
categorystring[]
Restricts the returned catalog to metrics in these categories. When omitted, the response includes all categories.
Headers
Request-Timeoutinteger
The platform makes a best effort to complete the request in the specified seconds, or it times out.
Request-Timeout-Millisinteger
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Response
Catalog of registered metrics.
Example response
{
"metrics": [
{
"name": "agent.trace.duration_ms",
"category": "agent",
"unit": "ms",
"display_name": "Agent turn duration percentiles",
"dimensions": [
"agent_keys"
],
"origin": "system",
"type": "counter"
}
]
}