LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    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
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.checkpointbasecreate_checkpoint
    Function●Since v1.0

    create_checkpoint

    Copy
    create_checkpoint(
      checkpoint: Checkpoint,
      channels: Mapping[str, ChannelProtocol] | None,
      step:
    View source on GitHub
    int
    ,
    *
    ,
    id
    :
    str
    |
    None
    =
    None
    )
    ->
    Checkpoint

    Create a checkpoint for the given channels.