GET with body payload — no resources created.
func (
r *ThreadService) AggregateStats(ctx context.Context,
body ThreadAggregateStatsParams,
opts ...option.RequestOption) (res *ThreadAggregateStatsResponse,
err error
)GET with body payload — no resources created. Returns aggregate statistics for
threads in a tracing project. The response includes the thread counts, run
counts, latency percentiles, rates, token totals, and cost totals requested in
select.
Self-hosted deployments require LangSmith v0.17 or later.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
body* | ThreadAggregateStatsParams | |
opts* | ...option.RequestOption |