Install
Configuration
Running tasks
The sync-feeling happy path: submit + poll in one call.run() blocks until the task terminates. If you’d rather drive the poll loop yourself (for progress UI, concurrent submission, etc.):
All task options
Sessions / follow-ups
End-user credentials
snake_case keyword arguments; the SDK maps them to the API’s camelCase field names on the wire.
API key admin (Cognito JWT only)
These methods work only when theapi_key you pass is actually a Cognito JWT from the dashboard. Most customers use the dashboard UI directly and never call these.
Exceptions
TaskFailedandTaskTimeoutboth extendStablebrowseErrorand carry the (failed / in-progress)Taskrecord on.task.StablebrowseErrorfor everything else — catch this for a blanket handler.
Typed results
Every response model is a lightweight@dataclass with typed fields. Unknown fields from the server are preserved on .raw so a server-side addition doesn’t break your client:
Version pinning
The SDK follows semver:0.x.y— API may change on minor bumps. Pin conservatively while we stabilize.1.x.y— breaking changes only on major bumps (post-1.0).