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

Copy
InsightsReportResult()

Bases

BaseModel

Attributes

Methods

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_construct: construct

Methods

Mto_dict
—

Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

M
View source on GitHub
construct
Mmodel_dump
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump

Mmodel_dump_json
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json

Classes

CConfig
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]]
attribute
model_config
method
to_json
method
model_dump_json_dict

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

Run dicts when fetched with include_runs=True.

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

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