Skip to main content

Synchronous client

Available resource methods: Use client.request(method, path, **kwargs) for redrive or an endpoint not yet wrapped by a resource.

Asynchronous client

Async resources mirror sync resources. Do not use the synchronous client inside an async event loop.

Error handling

Branch only on status_code, stable code, and retryable. detail is diagnostic prose, not a machine protocol. The SDK does not automatically retry run creation. Send a stable Idempotency-Key through the underlying request method when network retries could enqueue twice.