Skip to main content
POST
Get the values of a timeseries-shaped custom metric

Headers

x-project-id
string
required

Project ID to specify the project context

Body

application/json
metric
string
required

Metric identifier (matches id returned by GET /analytics/custom-metrics)

Example:

"sample-metric-table"

filter
object

Filter payload. Validated by the dispatcher against the metric-specific DTO class, which extends this base.

Example:

Response

metric
string
required
title
string
required
xAxis
object
required
yAxis
object
required
series
object[]
required
points
object[]
required

Time-bucketed data; keys match xAxis.key + each series.key

description
string