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.storebaseBaseStoreget
    Method●Since v1.0

    get

    Retrieve a single item.

    Copy
    get(
      self,
      namespace: tuple[str, ...],
      key: str,
      *,
      refresh_ttl: bool | None = None
    ) -> Item | None

    Parameters

    NameTypeDescription
    namespace*tuple[str, ...]

    Hierarchical path for the item.

    key*str

    Unique identifier within the namespace.

    refresh_ttlbool | None
    Default:None

    Whether to refresh TTLs for the returned item. If None, uses the store's default refresh_ttl setting. If no TTL is specified, this argument is ignored.

    View source on GitHub