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
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithclientClientpoll_insights
Methodā—Since v0.4

poll_insights

Copy
poll_insights(
  self,
  *,
  report: ls_schemas.InsightsReport | None = None,
  id: str
View source on GitHub
|
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

Poll the status of an Insights report.

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