# APIStatusError

> **Class** in `langgraph_sdk`

📖 [View in docs](https://reference.langchain.com/python/langgraph-sdk/errors/APIStatusError)

## Signature

```python
APIStatusError(
    self,
    message: str,
    *,
    response: httpx.Response,
    body: object | None,
)
```

## Extends

- `APIError`

## Constructors

```python
__init__(
    self,
    message: str,
    *,
    response: httpx.Response,
    body: object | None,
) -> None
```

| Name | Type |
|------|------|
| `message` | `str` |
| `response` | `httpx.Response` |
| `body` | `object \| None` |


## Properties

- `response`
- `status_code`
- `request_id`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/1142ebf9213e3eb01b9d1e7223b9f6b30bf8da61/libs/sdk-py/langgraph_sdk/errors.py#L82)