Create a run in existing thread. Stream the output.
API key for authentication
The ID of the thread.
Payload for creating a run.
The distribution channel ID or graph name to run. If using graph name, will default to first distribution channel created from that graph.
The checkpoint to resume from.
The input to the graph.
The input to the graph.
Metadata to assign to the run.
The configuration for the assistant.
Static context added to the assistant.
Webhook to call after LangGraph API call is done.
1 - 65536Nodes to interrupt immediately before they get executed.
* Nodes to interrupt immediately after they get executed.
* The stream mode(s) to use.
values, messages, messages-tuple, tasks, checkpoints, updates, events, debug, custom Whether to stream output from subgraphs.
Whether to persist the stream chunks in order to resume the stream later.
The disconnect mode to use. Must be one of 'cancel' or 'continue'.
cancel, continue Feedback keys to assign to run.
Multitask strategy to use. Must be one of 'reject', 'interrupt', 'rollback', or 'enqueue'.
reject, rollback, interrupt, enqueue How to handle missing thread. Must be either 'reject' (raise error if missing), or 'create' (create new thread).
create, reject The number of seconds to wait before starting the run. Use to schedule future runs.
Whether to checkpoint during the run.
Durability level for the run. Must be one of 'sync', 'async', or 'exit'.
sync, async, exit Success
The server will send a stream of events in SSE format.
Example event:
id: 1
event: message
data: {}