curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/traces/stats \
--header 'Authorization: Bearer <token>'{
"total_traces": 123,
"success_count": 123,
"error_count": 123,
"running_count": 123,
"error_rate": 123,
"total_spans": 123,
"avg_duration_ms": 123,
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z"
}Get aggregated statistics for traces
curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/traces/stats \
--header 'Authorization: Bearer <token>'{
"total_traces": 123,
"success_count": 123,
"error_count": 123,
"running_count": 123,
"error_rate": 123,
"total_spans": 123,
"avg_duration_ms": 123,
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z"
}Enter your Kubiya API token (format: Bearer
Start of time range
End of time range
Successful Response
Was this page helpful?