LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithclientClientsync_indexed_dataset
Method●Since v0.3

sync_indexed_dataset

Sync dataset index.

This already happens automatically every 5 minutes, but you can call this to force a sync.

Copy
sync_indexed_dataset(
  self,
  *,
  dataset_id: ID_TYPE,
  **kwargs: Any = {}
) -> None

Parameters

NameTypeDescription
dataset_id*Union[UUID, str]

The ID of the dataset to sync.

View source on GitHub