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-sdk_syncstoreSyncStoreClient
    Class●Since v0.3

    SyncStoreClient

    Copy
    SyncStoreClient(
        self,
        http: SyncHttpClient,
    )

    Constructors

    Attributes

    Methods

    View source on GitHub
    constructor
    __init__
    NameType
    httpSyncHttpClient
    attribute
    http: http
    method
    put_item

    Store or update an item.

    method
    get_item

    Retrieve a single item.

    method
    delete_item

    Delete an item.

    method
    search_items

    Search for items within a namespace prefix.

    method
    list_namespaces

    List namespaces with optional match conditions.

    A client for synchronous operations on a key-value store.

    Provides methods to interact with a remote key-value store, allowing storage and retrieval of items within namespaced hierarchies.

    Example
    client = get_sync_client(url="http://localhost:2024"))
    client.store.put_item(["users", "profiles"], "user123", {"name": "Alice", "age": 30})