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

InsightsReportResult

Full result of fetching an Insights report (job + clusters + summary + optional runs).

Copy
InsightsReportResult()

Bases

BaseModel

Attributes

attribute
id: UUID | str
attribute
name: str
attribute
status: str
attribute
start_time: datetime | str | None
attribute
end_time: datetime | str | None
attribute
created_at: datetime | str | None
attribute
metadata: dict[str, Any] | None
attribute
shape: dict[str, int] | None
attribute
error: str | None
attribute
config_id: UUID | str | None
attribute
clusters: list[InsightsCluster]
attribute
report: InsightsSummaryReport | None
attribute
runs: list[dict[str, Any]]

Run dicts when fetched with include_runs=True.

attribute
model_config

Methods

method
to_json

Return the report as a JSON-serializable dict (raw JSON shape).

method
model_dump_json_dict

Return the report as a JSON-serializable dict (e.g. for saving to file).

View source on GitHub