Skip to main content
The Python SDK currently exposes a generic HTTP client. These examples call endpoints by path — see the API Reference for the full endpoint list.

Synchronous Usage

Async Usage

Configuration from the Environment

Calling an Endpoint by Path

The SDK does not model resources, so requests are made by path and the response is returned as a plain dict. Consult the API Reference for the current paths, parameters, and response shapes.
Because paths are passed as raw strings, nothing in the SDK validates them against the current API. Endpoint paths changed in the latest API revision — verify each path against the API Reference rather than copying from older code.

Error Handling

Custom Timeouts and Retries