class ThreadsGET 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.
Retrieve all traces belonging to a specific thread within a project.
Self-hosted deployments require LangSmith v0.16 or later.
GET with body payload — no resources created. Returns the threads in a tracing project matching the query passed as the request payload. Results are filtered by the given time range and optional filters, with cursor-based pagination.
When ai_search is set, Accept: text/event-stream is required; requests
without it return 406. AI search is unavailable on deployments that route
queries to the v1 backend and returns 501 there.
Self-hosted deployments require LangSmith v0.16 or later.
Compute aggregate stats for a single thread (turn count, latency percentiles, token/cost sums, and detail breakdowns) within a project.
Self-hosted deployments require LangSmith v0.16 or later.