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. Set stride to return the statistics as a time series in buckets.
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.
ai_search cannot be combined with sem_filter. With full AI search enabled,
ai_search translates natural language into query filters and time bounds and
cannot be combined with explicit filter expressions. Otherwise, ai_search
retains legacy semantic-only behavior. Use sem_filter for semantic-only
matching combined with structured filters. AI search requires organization
consent. When semantic matching is needed, 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.