Skip to main content
This page is a quick, skimmable reference. For conceptual guides, start at Quickstart. For the HTTP-level view, see API reference.

Clients

SpineClient(...) — sync

Use as a context manager (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-level spine package:
Each model uses extra="ignore", so new fields added to the backend don’t break old SDK releases.

Exceptions

See Errors and retries.

Retry policy

Passed to SpineClient(retry_policy=...).