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.checkpointbaseCheckpointMetadatacounters_since_delta_snapshot
    Attribute●Since v4.1

    counters_since_delta_snapshot

    Copy
    counters_since_delta_snapshot: dict[str, tuple[int, int]]
    View source on GitHub

    Per-channel counters since the last _DeltaSnapshot was written.

    Beta

    This metadata field backs DeltaChannel (beta). The key name and contents may change while the delta-channel design stabilizes.

    Maps channel name -> (updates, supersteps):

    • index 0 (updates): number of supersteps that wrote to this channel since its last snapshot blob.
    • index 1 (supersteps): total supersteps elapsed since this channel's last snapshot, regardless of whether the channel was written.

    A snapshot fires when EITHER updates >= ch.snapshot_frequency OR supersteps >= DELTA_MAX_SUPERSTEPS_SINCE_SNAPSHOT (system-wide bound, default 5000, env LANGGRAPH_DELTA_MAX_SUPERSTEPS_SINCE_SNAPSHOT). The supersteps bound prevents unbounded ancestor walks on threads where a delta channel exists but is no longer being updated.

    Absent on threads that don't use delta channels. Persisted as a 2-element list in JSON (no native tuple).