List threads for an agent
Returns one page of recent non-test threads for a single agent, ordered by latest conversation activity. Designed for the Agent Builder thread sidebar; returns a slim summary per thread without full LangGraph thread state.
Sort order is fixed to recency descending — state_updated_at
desc nulls last, then updated_at desc nulls last, then
created_at desc. By default only non-test threads are
returned (test_run=false); pass test_run=true to list
test-run threads instead. Pagination is cursor-based; pass
next_cursor from the previous response to fetch the next page.
When requires_attention=true, the endpoint fans out to the
three buckets that need user action — interrupted,
error, and idle threads with metadata.read_status=false —
and merges them into a single recency-ordered page. It
cannot be combined with status.
Note: is_pinned is supported as a temporary filter while
pinning lives in metadata; it will be removed once pinning
becomes a first-class field.
Authorizations
LangSmith API key (lsv2_...).
Query Parameters
Agent UUID. Required.
Items per page (1-20). Default 20.
Opaque pagination cursor returned by the previous list call.
Filter to a single thread status.
idle, busy, interrupted, error Filter by pinned state. Temporary; will be removed once pinning is first-class.
Return test-run threads instead of non-test threads. Default false.
Return only threads that need user action (interrupted, errored, or unread idle). Cannot be combined with status.

