LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraph-sdkindexThreadState
Interface●Since v0.0

ThreadState

Copy
interface ThreadState

Properties

property
checkpoint: Checkpoint

Checkpoint of the thread state

property
created_at: Optional<string>

Time of state creation

property
metadata: Metadata

Metadata for this state

property
next: string[]

The next nodes to execute. If empty, the thread is done until new input is received

property
parent_checkpoint: Optional<Checkpoint>

The parent checkpoint. If missing, this is the root checkpoint

property
tasks: ThreadTask<DefaultValues, unknown>[]

Tasks to execute in this step. If already attempted, may contain an error

property
values: ValuesType

The state values

View source on GitHub