Install the SDK and run your first end-to-end request.
This walks through installing spine-sdk, creating a run, waiting for it
to finish, and downloading the generated artifacts. For a broader
conceptual tour of the API, see the API quickstart.
Create a key in the developer portal.
You get $5 of free credits immediately — enough for several test
runs end-to-end. Keys look like sk_spine_... and are shown only once.Export it into your environment so the SDK can pick it up:
export SPINE_API_KEY=sk_spine_...
See Authentication for key rotation,
staging overrides, and tracing hooks.
runs.create submits the prompt and returns a CreatedRun handle
immediately.
waitForCompletion polls GET /v1/run/{run_id} every 5 seconds until
the run reaches a terminal state.
On success, terminal.result.final_output holds the synthesized
markdown and terminal.result.artifacts lists downloadable files
(docx, xlsx, pptx, html, png — depending on the template).