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: NoneIf provided, only checkpoints before the specified checkpoint ID are returned. |
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).
Maximum number of checkpoints to return.