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
PythonlangsmithclientClientpoll_insights
Method●Since v0.4

poll_insights

Poll the status of an Insights report.

Copy
poll_insights(
  self,
  *,
  report: ls_schemas.InsightsReport | None = None,
  id: str | uuid.UUID | None = None,
  project_id: str | uuid.UUID | None = None,
  rate: int = 30,
  timeout: int = 30 * 60,
  verbose: bool = False
) -> ls_schemas.InsightsReport

Parameters

NameTypeDescription
reportls_schemas.InsightsReport | None
Default:None

THe InsightsReport.

idstr | uuid.UUID | None
Default:None

The Insights report ID. Should only specify if 'report' is not specified.

project_idstr | uuid.UUID | None
Default:None

The Tracing project ID. Should only specify if 'report' is not specified.

View source on GitHub