Runs
Create a canvas run
Submit a prompt to trigger an async canvas run. Agents orchestrate a DAG of blocks to satisfy the prompt; poll GET /v1/run/{run_id} until status becomes completed, partial, or failed.
post/v1/run
Request
- Base URLhttps://api.getspine.ai
- AuthAPI key in header X-API-KEY
Request body multipart/form-data
Example request
{
"prompt": "Create a Q1 performance report with charts",
"blocks": "[\"document-block\",\"table-block\",\"web-block\"]",
"agent_instructions": "Write for a C-suite executive audience. Cite all sources."
}Response
Run accepted. Poll poll_url for status and results.
Changes
No recorded changes to this operation across all 1 revision of this API.