LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkerrorsAPIError
    Class●Since v0.2

    APIError

    Copy
    APIError(
      self,
      message: str,
      response_or_request: httpx.Response | httpx.Request,
      *,
      body: object 

    Bases

    httpx.HTTPStatusErrorLangGraphError

    Constructors

    Attributes

    View source on GitHub
    |
    None
    )
    constructor
    __init__
    NameType
    messagestr
    response_or_requesthttpx.Response | httpx.Request
    bodyobject | None
    attribute
    message: str
    attribute
    request: httpx.Request
    attribute
    body: object | None
    attribute
    code: str | None
    attribute
    param: str | None
    attribute
    type: str | None