SDK reference
The onepin Python client — construction and every resource method.
The onepin Python SDK ships with pip install onepin. For task walkthroughs see the Guides; this page is the method index.
Construction
Use AsyncOnepinClient for the async client (same methods, await them). Build once and reuse; it is not a context manager. Every method also takes request_options={"timeout_in_seconds": ..., "max_retries": ..., "additional_headers": {...}}.
Return shape: list methods return a counted envelope (.data holds the page); single-object methods return an envelope with the object at .data. Page with offset / limit.
workflows
client.workflows.<method>
workflows.runs
client.workflows.runs.<method>
voices
client.voices.<method>
templates
client.templates.<method>
uploads
client.uploads.<method> — three-step presigned flow (see Upload a file).
providers
client.providers.<method> — the catalog for voice_map identifiers (see Generator).
dictionary
client.dictionary.<method> — custom pronunciations (dictionary:read / dictionary:write).
usage
client.usage.<method> — see Check usage.
nodes
client.nodes.<method>
Errors
All methods raise typed exceptions on non-2xx — see Handle errors.

