LangGraph 1 · Memory and persistence
Browse state history
Iterate over past checkpoints of a thread, newest first. Useful for debugging and time travel.
for snapshot in graph.get_state_history(config):
print(snapshot.values)
Official LangGraph 1 documentation
More memory and persistence commands
- Add short-term memory
- Continue a conversation on a thread
- Read the saved state
- Persist to SQLite
- Persist to PostgreSQL
- Add long-term memory
All memory and persistence commands · LangGraph 1 cheatsheet