Python SDK — Usage
Python SDK — Usage
Python SDK — Usage
The client manages an underlying httpx connection pool. Use it as a context manager to ensure clean shutdown:
Uploads use a three-step presigned URL flow: create → PUT bytes to S3 → confirm.
Categories: category must be "script" (.txt, .docx) or "dictionary" (.csv). Audio file upload uses a separate endpoint not available via API key.
Every list() call returns a PaginatedList[T]:
iter_all()iter_all() is available on workflows, voices, templates. It yields one item at a time and only fetches the next page when the current one is exhausted. An early break stops fetching:
See Errors for the full exception hierarchy and retry patterns.