OptionalcontextContext of the run, which every node reads as LangGraph's runtime.context. It is not stored, so a resume
passes its own.
OptionalinputInitial state for the run.
OptionalsessionThe session (squid.sessions()) the run runs in: nodes read its id from RunContext.sessionId. With the app API
key, the run creates the session or updates the one with the same id. Without it, a new id creates the session
with its data and a live one is attached as it is; the graph's @secureLangGraph rules see both and can refuse
them.
OptionalthreadIf provided, the run executes against this thread. If omitted, a new thread is created.
OptionaltimeoutHow long the run may take, in ms, before it stops and fails. At most, and by default, one hour.
OptionaltokenStreams only the tokens of LLM calls with one of these tags, such as those set with model.withConfig({ tags }).
Options for streaming a new LangGraph run.