Skip to main content
GET
Get Thread State

Path Parameters

thread_id
string<uuid>
required

The ID of the thread.

Query Parameters

subgraphs
boolean

Whether to include subgraphs in the response.

select
(enum<string> | string)[]

Specify which fields of the state to return. Use values.<key> to return only that key of the state values, for example values.messages. If not provided, all fields are returned.

Available options:
values,
next,
tasks,
checkpoint,
metadata,
created_at,
parent_checkpoint,
interrupts

Response

Success

values
object
required
next
string[]
required
checkpoint
Checkpoint · object
required

Checkpoint config.

metadata
Metadata · object
required
created_at
string
required
tasks
Tasks · object[]
parent_checkpoint
Parent Checkpoint · object
interrupts
Interrupt · object[]