interface ThreadQueryParamsHeader param: application/json, or text/event-stream (required when ai_search is set)
Body param: ai_search is a plain-language criterion evaluated against the
messages from the agent trajectory scoped to the thread. AND-ed with the
ordinary filters. Requires semantic filtering enabled for the deployment. Must
contain nonempty text of at most 2000 UTF-8 bytes.
Body param: filter narrows which threads are returned, using a LangSmith
filter expression evaluated against each thread's root run. For example:
has(tags, "production") or eq(status, "error"). See
https://docs.langchain.com/langsmith/trace-query-syntax#filter-query-language
for syntax.
Body param: max_start_time is the exclusive upper bound on thread activity
(RFC3339 date-time). Defaults to now (UTC) when omitted.
Body param: min_start_time is the inclusive lower bound on thread activity
(RFC3339 date-time). Defaults to 1 day before now (UTC) when omitted.
Body param: project_id is the tracing project UUID.
Body param: thread_filter narrows results using a LangSmith filter expression
evaluated against each complete thread summary. Self-hosted deployments require
LangSmith v0.17 or later; unsupported deployments return 501. See
https://docs.langchain.com/langsmith/trace-query-syntax#filter-query-language
for syntax.
Body param: trace_filter narrows results to threads containing at least one
trace whose root run matches this LangSmith filter expression. Trace-level
aggregate fields are evaluated using the complete trace summary. Self-hosted
deployments require LangSmith v0.17 or later; unsupported deployments
return 501. See
https://docs.langchain.com/langsmith/trace-query-syntax#filter-query-language
for syntax.
Body param: tree_filter narrows results to threads containing at least one
trace with a matching run anywhere in its run tree. Self-hosted deployments
require LangSmith v0.17 or later; unsupported deployments return 501. See
https://docs.langchain.com/langsmith/trace-query-syntax#filter-query-language
for syntax.