LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.checkpoint.sqliteaioAsyncSqliteSaveralist
    Method●Since v1.0

    alist

    Copy
    alist(
      self,
      config: RunnableConfig | None,
      *,
      filter: dict[str,
    View source on GitHub
    Any
    ]
    |
    None
    =
    None
    ,
    before
    :
    RunnableConfig
    |
    None
    =
    None
    ,
    limit
    :
    int
    |
    None
    =
    None
    )
    ->
    AsyncIterator
    [
    CheckpointTuple
    ]

    Parameters

    NameTypeDescription
    config*RunnableConfig | None

    Base configuration for filtering checkpoints.

    filterdict[str, Any] | None
    Default:None

    Additional filtering criteria for metadata.

    beforeRunnableConfig | None
    Default:None
    limitint | None
    Default:None

    List checkpoints from the database asynchronously.

    This method retrieves a list of checkpoint tuples from the SQLite 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.