LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
  • Stream
LangGraph SDK
  • Ui
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Utils
  • Server
  • Stream
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
WebChannelsPregelPrebuiltRemoteStream
LangGraph SDK
UiClientAuthReactLoggingReact UiUtilsServerStream
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-sdkstreamStreamRespondOptions
Interface●Since v1.9

StreamRespondOptions

Copy
interface StreamRespondOptions

Bases

StreamRespondAllOptions<ConfigurableType>

Properties

Inherited fromStreamRespondAllOptions

Properties

Pconfig: Config
—

The assistant config.

Pmetadata: MessageMetadata
View source on GitHub
property
config: __type
property
interruptId: string
property
metadata: Record<string, unknown>
property
namespace: string[]

Options for StreamController.respond / framework respond().

Targets a single pending interrupt (interruptId / namespace) and carries run-level config and metadata onto the resume so the resumed run applies the same configurable values (model, user context, timezone, …) and metadata (trigger source, test flags, …) a fresh StreamSubmitOptions would. The server folds these into the run it starts to service the input.respond command.

To resume several interrupts pending at the same checkpoint, use StreamController.respondAll instead.

The assistant config.

Target a specific pending interrupt. Omit when exactly one interrupt is pending to resume the newest unresolved one; pass it when several can be active (parallel subagents, fan-out, nested graphs) so you resume the interrupt the user acted on.