Skip to main content
POST
Test-run a template
Boots a short-lived, auto-reaped computer from a template 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

string
required
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:
string
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.
string
The underlying VM id.
string
Current status.
string
VNC / WebSocket token for the preview.
See Create computer for the full connection model.

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

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Body

application/json
ref
string
required
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.

id
string

Underlying VM id.

desktop_id
string

Ephemeral desktop id. Use it for same-origin connection URLs and to stop the run via DELETE /templates/run?id=.

status
string
vnc_password
string
public_host
string
resolution
string