Client Configuration
All configuration options with their defaults:
Timeouts
Client-level timeout
Per-request timeout
Disable timeout
Retries
The SDK automatically retries on connection errors, timeouts, and HTTP 408/409/429/5xx
responses with exponential backoff (starting at 0.5s, max 8s, with jitter).
withOptions() — Client Overrides
Create a new client with overridden settings without mutating the original:
Per-Request Overrides
Every resource method accepts an options object for single-request customization:
Raw Response Access
Access the raw HTTP response (headers, status code) while still getting typed parsing:
Works with all resources including fee schedule results:
This is useful for:
- Inspecting response headers (rate limit info, request IDs)
- Debugging API interactions
- Accessing metadata not included in the typed model
Raw response methods bypass the SDK’s automatic retry logic. If a request made
via withRawResponse fails due to a transient error (timeout, 429, 5xx), it
will not be retried automatically. Handle retries manually when using raw responses.
Using Types Directly
All response models are available for import and type annotation: