Get metrics by dimension
Changed onReturns time-series metrics grouped by a dimension. Span scope supports full filtering and dimensions. Trace scope accepts no body filters and only user or organization-key breakdowns. Thread scope accepts neither filters nor a breakdown dimension. Each requested metric is a top-level key containing an array of time buckets.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/dashboard/time-series/breakdown/
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
Preset time range. Use this or explicit start_time / end_time.
Base date used with summary_type presets.
Optional explicit ISO start time.
Optional explicit ISO end time.
Bucket granularity for time-series responses.
Timezone offset, in hours, used when resolving preset ranges.
Dimension to break the time series down by.
Aggregation unit.
Request body
Example request
{
"filters": {
"customer_identifier": {
"operator": "",
"value": [
"alex@acme.dev"
]
}
}
}Response
Metric-keyed time-series breakdown.
Changes
- breaking
added
subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - breaking
added
subschema #1to theresponse propertyoneOflist for the response status - warning
removed the request property
- warning
removed the request property
- info
api operation id
dashboard_listMetricsBreakdownremoved and replaced withlistMetricsBreakdown - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Dashboardadded - info
api tag
dashboardremoved - info
for the
queryrequest parametertimezone_offset, the format was generalized fromdoubleto no format - info
removed from the
response propertyoneOflist for the response status
- breaking
- breaking
added to the
response propertyoneOflist for the response status - info
removed from the
response propertyoneOflist for the response status
- breaking