Get aggregated metrics for traces.
Requires a valid JWT token with the read:traces permission.
Computes statistical distributions (mean, median, percentiles, min, max, stddev) for trace duration, cost per trace, and spans per trace.
Supports the same filter expressions as the engine/query endpoint.
Returns trace metrics with duration, cost, and volume statistics.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Start datetime (inclusive)
"2025-01-15T00:00:00Z"
End datetime (exclusive)
"2025-01-16T00:00:00Z"
Request model for query filter.
A single filter condition.
{
"and": [
{
"field": "span_attributes.http.status_code",
"op": "gte",
"value": "200"
},
{
"field": "span_attributes.http.status_code",
"op": "lte",
"value": "299"
},
{
"or": [
{
"field": "span_kind",
"op": "eq",
"value": "SERVER"
},
{
"field": "span_kind",
"op": "eq",
"value": "CLIENT"
}
]
}
]
}
Successful Response