Clients
SpineClient(...) — sync
with SpineClient() as client:) so the
underlying HTTP pool closes cleanly.
AsyncSpineClient(...) — async
Identical signature; http_client accepts an httpx.AsyncClient. Use
as async with AsyncSpineClient() as client:.
Runs
RunHandle
Canvas
Enums
Template
AUTO, DEEP_RESEARCH, REPORT, SLIDES, MEMO, EXCEL, APP,
LANDING_PAGE. See Templates.
BlockType
17 members covering every block type the platform produces. See
Block types.
RunStatus
RUNNING, COMPLETED, PARTIAL, FAILED. status.is_terminal is
True for anything except RUNNING.
Models
All models are Pydantic v2 and are re-exported from the top-levelspine package:
extra="ignore", so new fields added to the backend
don’t break old SDK releases.
Exceptions
Retry policy
SpineClient(retry_policy=...).