Skip to main content
POST
Clone computer
Creates a copy of an existing computer with the same disk state, using your optional name, or a generated (clone) suffix. The clone lands in the source’s workspace and comes up running.
Cloning copies the full disk: installed software, files, browser sessions. The clone gets a new UUID and a new instance_id. Its auto-stop is forced to always-on regardless of the source’s setting.

Clone or fork?

Clone a computer to reuse its setup. Fork it to try two next steps from the same moment.

Path parameters

string
required
The source computer’s UUID or instance_id. Both resolve to the same computer, as on the other computer endpoints. The instance_id is the value POST /computers returns as instance_id, and GET /computers/{id} as fly_instance_id.

Response

Returns 201 with the clone’s identifiers.
string
New computer UUID.
string
Your requested name, or a generated name such as agent-1 (clone) or agent-1 (clone 2).
string
Always running: the response is sent after the clone has booted.
string
The clone’s instance_id. This is the handle to use for its own clone, connection, and proxy calls.

Plan limits

A clone is a new computer, so it is charged against the workspace owner’s plan. It draws on their computer slot, account RAM, per-computer CPU/RAM ceiling, and the storage the source’s disk requires. Any of those being exhausted returns 403. See https://orgo.ai/pricing.

Example

Response

Errors

Every error body carries error and code.

Optional name

string
A unique name of 1-255 characters after trimming. Omit the body to generate a name. An empty or invalid name returns 400 with code INVALID_REQUEST; a name collision returns 409 with code NAME_TAKEN.
Cloning is a disk copy, so stop applications that require an application-consistent backup before cloning. Guest flush and snapshot consistency depend on the computer backend.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Source computer ID

Body

application/json
name
string

Optional unique clone name. Omit to generate a (clone) suffix.

Required string length: 1 - 255

Response

Clone created and running

id
string

New computer UUID.

name
string
Example:

"agent-1 (clone)"

status
enum<string>
Available options:
running
fly_instance_id
string

The clone's instance_id.