Payload for updating a cron job. All fields are optional.
CronUpdate()| Name | Type |
|---|---|
| schedule | str |
| end_time | datetime |
| input | Input |
| metadata | dict[str, Any] |
| config | Config |
| context | Context |
| webhook | str |
| interrupt_before | All | list[str] |
| interrupt_after | All | list[str] |
| on_run_completed | OnCompletionBehavior |
| enabled | bool |
| stream_mode | StreamMode | list[StreamMode] |
| stream_subgraphs | bool |
| stream_resumable | bool |
| durability | Durability |
The cron schedule to execute this job on.
The end date to stop running the cron.
The input to the graph.
Metadata to assign to the cron job runs.
The configuration for the assistant.
Static context added to the assistant.
Webhook to call after LangGraph API call is done.
Nodes to interrupt immediately before they get executed.
Nodes to interrupt immediately after they get executed.
What to do with the thread after the run completes.
Enable or disable the cron job.
The stream mode(s) to use.
Whether to stream output from subgraphs.
Whether to persist the stream chunks in order to resume the stream later.
Durability level for the run. Must be one of 'sync', 'async', or 'exit'.