Skip to main content
GET
List threads

Authorizations

X-Api-Key
string
header
default:LANGSMITH_API_KEY
required

Query Parameters

agent_id
string<uuid>
required

Managed Deep Agent ID.

page_size
integer
default:20

Items per page. Defaults to 20.

Required range: 1 <= x <= 20
cursor
string

Opaque pagination cursor returned by the previous list call.

status
enum<string>

Filter to a single thread status.

Available options:
idle,
busy,
interrupted,
error
is_pinned
boolean

Filter by pinned state.

test_run
boolean
default:false

Return test-run threads instead of non-test threads. Defaults to false.

requires_attention
boolean

Return only threads that need user action. Cannot be combined with status.

Response

Threads returned.

threads
object[]
next_cursor
string | null

Cursor for the next page, or null when there are no more pages.