interface ThreadAggregateStatsParamsfilter is a deprecated, unscoped LangSmith filter expression evaluated against
trace root runs. Kept for compatibility with deployments that serve this
endpoint via the legacy ClickHouse backend (no SmithDB query service
configured); prefer trace_filter, tree_filter, or thread_filter otherwise,
since those require SmithDB.
max_start_time is the exclusive upper bound on thread activity (RFC3339
date-time). Defaults to now (UTC) when omitted.
min_start_time is the inclusive lower bound on thread activity (RFC3339
date-time). Defaults to 1 day before now (UTC) when omitted.
project_id is the tracing project UUID.
select lists the aggregate statistics to compute and return. At least one
value is required.
thread_filter narrows eligible threads using a LangSmith filter expression
evaluated against the complete thread summary.
trace_filter narrows eligible threads to those containing a trace whose root
run matches this LangSmith filter expression.
tree_filter narrows eligible threads to those containing a matching run
anywhere in a trace tree.