LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
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
WebChannelsPregelPrebuiltRemote
LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
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 for when creating a new run.

property
created_at: Optional<string>

The time the assistant was created.

property
metadata: Metadata

The assistant metadata.

property
next: string[]

Pagination cursor from the X-Pagination-Next response header.

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 current state values of the stream. Updated as streaming events are received.

View source on GitHub