Build template
Bake a template version into a golden snapshot.
202 Accepted. The build is queued for a dedicated build runner. Track progress by polling Get build status.
Requests are idempotent while a build is in flight: if a job for the same content is already queued or running, you get that job back instead of a second one. At most 10 of your builds can be queued or running at once.
POST /templates?auto_build=true. Reading the build status is not gated.Path parameters
Query parameters
standard (2 vCPU, 8 GB), fast (4 vCPU, 16 GB), or turbo (8 vCPU, 32 GB). Omitted, Orgo picks the smallest runner that holds the template’s hardware. Any other value returns 400. A runner smaller than the template’s hardware returns 422.true to create a computer from the template as soon as the build is ready. Only the exact string true enables it. The launch goes through the same plan and quota checks as Create computer.launch=true creates. You must belong to the workspace, or the call returns 403. Omitted, Orgo picks one of your workspaces.Response
queued while the job waits for a runner, building once a runner has claimed it.queued.standard, fast, or turbo.www.orgo.ai. The queue is off by default in a deployment that does not enable it, and there the call still returns 202, but with the older build-result shape: ref, digest, and status (building, or ready when a golden snapshot for this content already exists), without jobId, phase, tier, ahead, or launchOnReady. The tier, launch, and project query parameters are ignored in that mode.
Example
Response
Cancel a build
Send aDELETE to the same build path to cancel a build that no runner has claimed yet. It returns 202 with { "status": "cancelled" }, and the version’s status reads not_built afterwards. A build a runner has already claimed runs to completion. When nothing is queued, Orgo falls back to cancelling on the template registry host: if that host had a build to cancel, the call returns 202 with { "status": "cancelling" }. Otherwise, including for a build a runner has already claimed, it returns 404 with { "status": "idle" }.
Errors
DELETE (cancel) is not plan-gated and takes no query parameters. Its 404 body is { "status": "idle" }, not an error object.Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Query Parameters
Build runner: standard (2 vCPU, 8 GB), fast (4 vCPU, 16 GB), or turbo (8 vCPU, 32 GB). Omitted, the smallest runner that holds the template's hardware. Any other value returns 400; a runner smaller than the template's hardware returns 422.
standard, fast, turbo true creates a computer from the template as soon as the build is ready, with the same plan and quota checks as POST /computers. Only the exact string true enables it.
Workspace ID for the computer that launch=true creates. You must belong to it, or the call returns 403. Omitted, Orgo picks one of your workspaces.
Response
Build queued, or the in-flight job for the same content
A build queued for a dedicated build runner.
"default/claude-code@1.0.0"
Content-addressed digest being built.
queued while the job waits for a runner, building once a runner has claimed it.
queued, building Build job ID.
Current job phase, such as queued.
Build runner tier.
standard, fast, turbo Queued jobs across all accounts that will run before this one.
Whether a computer is created when the build is ready. For a job already in flight, that job's setting, not this request's.