list(
self,
config: RunnableConfig | None,
*,
filter: dict[str, | Name | Type | Description |
|---|---|---|
config* | RunnableConfig | None | Base configuration for filtering checkpoints. |
filter | dict[str, Any] | None | Default: NoneAdditional filtering criteria for metadata. |
before | RunnableConfig | None | Default: None |
limit | int | None | Default: None |
List checkpoints from the database.
This method retrieves a list of checkpoint tuples from the Postgres database based on the provided config. The checkpoints are ordered by checkpoint ID in descending order (newest first).
If provided, only checkpoints before the specified checkpoint ID are returned.
Maximum number of checkpoints to return.