Python SDK
traces
Aggregate stats across traces
Aggregate statistics for traces matching the given filters.
Returns token totals, estimated costs, latency percentiles, model breakdown, and daily time-series data.
GET
Python SDK
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Query Parameters
When false, exclude platform-harness fixture agents from the aggregates — the UI's default. Defaults to true for API back-compat. Ignored when agent_name is set.
Cookies
Response
Successful Response
The response is of type Response Get Trace Stats Api V1 Traces Stats Get · object.