Templates
Test-run a template
Boot a short-lived preview computer from a template ref.
POST
Test-run a template
Boots a short-lived, auto-reaped computer from a template
See Create computer for the full connection model.
ref — the same in-editor “Run” that the dashboard uses to test a template before sharing it. The preview is reclaimed automatically after a period of inactivity.
Test-runs require a Scale plan. For a persistent computer, use Create computer with
template_ref instead — that’s the durable path and it counts toward your plan’s computer quota.Request body
Template ref to boot, in
namespace/name@version form. Your own (default/…) or a curated (system/…) ref. The template’s build must be ready.Response
Returns a short-lived computer you connect to exactly like any other. The key fields:The preview’s identifier. Build its connection URLs the same way as any computer (
https://www.orgo.ai/desktops/{desktop_id}/…), and pass it back to stop the run.The underlying VM id.
Current status.
VNC / WebSocket token for the preview.
Example
Stop a test-run
DELETE /templates/run?id={desktop_id} stops the preview and reclaims the VM. Previews are also reaped automatically, so a missed stop won’t leak a computer.
Errors
| Status | Meaning |
|---|---|
401 | Missing or invalid API key. |
403 | Test-runs require a Scale plan or higher. |
409 | The template’s build isn’t ready. Build it first. |
429 | Run-VM rate limit or concurrency cap reached. Back off and retry. |
Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Body
application/json
Example:
"default/my-template@1.0.0"
Response
Preview computer booted
A short-lived preview computer booted from a template ref. Connect to it like any computer; it is auto-reaped.
Test-run a template