client.runs.wait
][langgraph_sdk.client.RunsClient.wait] or [client.runs.stream
][langgraph_sdk.client.RunsClient.stream] APIs.client.threads.get_history
][langgraph_sdk.client.ThreadsClient.get_history] method to retrieve the execution history for a specific thread_id
and locate the desired checkpoint_id
.
Alternatively, set a breakpoint before the node(s) where you want execution to pause. You can then find the most recent checkpoint recorded up to that breakpoint.client.threads.update_state
][langgraph_sdk.client.ThreadsClient.update_state] method to modify the graph’s state at the checkpoint and resume execution from alternative state.client.runs.wait
][langgraph_sdk.client.RunsClient.wait] or [client.runs.stream
][langgraph_sdk.client.RunsClient.stream] APIs with an input of None
and the appropriate thread_id
and checkpoint_id
.Example graph
update_state
will create a new checkpoint. The new checkpoint will be associated with the same thread, but a new checkpoint ID.