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

APIResponseValidationError

Copy
APIResponseValidationError(
  self,
  response: httpx.Response,
  body: object | None,
  *,
  message: str

Bases

APIError

Constructors

Attributes

Inherited fromAPIError

Attributes

Amessage: strArequest: httpx.RequestAbody: object | None
—

The API response body.

View source on GitHub
|
None
=
None
)
constructor
__init__
NameType
responsehttpx.Response
bodyobject | None
messagestr | None
attribute
response: httpx.Response
attribute
status_code: int