List checkpoints matching the given criteria.
Traverses from Thread to Checkpoints via HAS_CHECKPOINT relationships.
list(
self,
config: RunnableConfig | None,
*,
filter: dict[str, Any] | None = None,
before: RunnableConfig | None = None,
limit: int | None = None
) -> Iterator[CheckpointTuple]| Name | Type | Description |
|---|---|---|
config* | RunnableConfig | None | Configuration with thread_id to filter by. |
filter | dict[str, Any] | None | Default: NoneOptional metadata filters (not yet implemented). |
before | RunnableConfig | None | Default: NoneOptional config to list checkpoints before. |
limit | int | None | Default: NoneMaximum number of checkpoints to return. |