> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orgo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Clone computer

> Duplicate a computer, preserving its disk state.

Creates a copy of an existing computer with the same disk state, name suffixed with `(clone)`. Useful for branching off from a configured base.

<Info>
  Cloning preserves the full disk state - installed software, files, browser sessions, everything. The clone gets a new ID and a fresh network identity.
</Info>

## Path parameters

<ParamField path="id" type="string" required>
  Source computer ID.
</ParamField>

## Response

<ResponseField name="id" type="string">
  New computer ID.
</ResponseField>

<ResponseField name="name" type="string">
  Clone name (e.g., `agent-1 (clone)` or `agent-1 (clone 2)`).
</ResponseField>

<ResponseField name="status" type="string">
  Clone status - typically `running` immediately after creation.
</ResponseField>

## Plan limits

Cloning counts toward your plan's computer limit. If you're at your limit, the request returns `403`. Upgrade your plan or delete a computer first.

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://www.orgo.ai/api/computers/a3bb189e-8bf9-3888-9912-ace4e6543002/clone \
    -H "Authorization: Bearer $ORGO_API_KEY"
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      f"https://www.orgo.ai/api/computers/{computer_id}/clone",
      headers={"Authorization": f"Bearer {api_key}"}
  )

  clone = response.json()
  print(f"Clone created: {clone['name']} ({clone['id']})")
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(`https://www.orgo.ai/api/computers/${computerId}/clone`, {
    method: 'POST',
    headers: { 'Authorization': `Bearer ${apiKey}` }
  });

  const clone = await response.json();
  console.log(`Clone created: ${clone.name} (${clone.id})`);
  ```
</CodeGroup>

### Response

```json theme={null}
{
  "id": "b4cc290f-9bf9-3888-9912-ace4e6543003",
  "name": "agent-1 (clone)",
  "status": "running"
}
```

## Errors

* `400` - Source computer has no server address (cannot clone)
* `401` - Invalid or missing API key
* `403` - You don't have access to this computer, or plan limit reached
* `404` - Source computer not found


## OpenAPI

````yaml POST /computers/{id}/clone
openapi: 3.1.0
info:
  title: Orgo API
  description: >-
    Launch cloud computers that AI agents can control and interact with. Create
    workspaces, provision computers, and control them programmatically.
  version: 2.0.0
  contact:
    name: Orgo Support
    email: spencer@orgo.ai
    url: https://orgo.ai
servers:
  - url: https://www.orgo.ai/api
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: Organize computers into named workspaces
  - name: Computers
    description: Provision and manage virtual computers
  - name: Computer Lifecycle
    description: Start, stop, and restart computers
  - name: Computer Actions
    description: Control mouse, keyboard, and execute commands
  - name: Streaming
    description: Stream computer display via RTMP
  - name: Files
    description: Upload and download files
  - name: Templates
    description: Author, build, and launch reproducible computers from templates
paths:
  /computers/{id}/clone:
    post:
      tags:
        - Computers
      summary: Clone computer
      description: >-
        Creates a copy of a computer with the same disk state. Counts toward
        your plan's computer limit.
      operationId: cloneComputer
      parameters:
        - name: id
          in: path
          required: true
          description: Source computer ID
          schema:
            type: string
      responses:
        '201':
          description: Clone created
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                    example: agent-1 (clone)
                  status:
                    type: string
                    example: running
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    Unauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Invalid API key
    Forbidden:
      description: Access denied or plan limit reached
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Access denied
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Resource not found
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key authentication. Get your key at orgo.ai/workspaces

````