LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
  • Stream
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
WebChannelsPregelPrebuiltRemoteStream
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-sdkindexThread
Interfaceā—Since v1.4

Thread

Copy
interface Thread

Properties

View source on GitHub
property
config: Config
property
created_at: string
property
error: Optional<string | Record<string, unknown>>
property
interrupts: Record<string, Interrupt<TInterruptValue>[]>
property
metadata: Metadata
property
state_updated_at: string
property
status: ThreadStatus
property
thread_id: string
property
updated_at: string
property
values: ValuesType

The config for the thread

The time the thread was created.

The error for the thread (if status == "error")

Interrupts which were thrown in this thread

The thread metadata.

The last time the thread state was updated.

The status of the thread

The ID of the thread.

The last time the thread was updated.

The current state of the thread.