> ## 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.

# Stop computer

> Shut down a running computer.

Stops a running computer. The computer's disk is preserved — files, installed software, and configuration are all kept — and a stopped computer incurs no compute charges.

<Info>
  Stopping saves the computer's disk and releases its host. When you [start](/api-reference/computers/start) it again it boots on a freshly chosen host and receives a **new IP address**. Running processes and other in-memory state from before the stop are **not** restored — the computer cold-boots from its saved disk. Only the disk is preserved.
</Info>

## Path parameters

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

## Response

<ResponseField name="success" type="boolean">
  `true` if stop was initiated.
</ResponseField>

Idempotent - stopping an already-stopped computer returns success without side effects.

## Example

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

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

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

  if response.json().get("success"):
      print("Computer stopping")
  ```

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

  const { success } = await response.json();
  if (success) console.log('Computer stopping');
  ```
</CodeGroup>

### Response

```json theme={null}
{
  "success": true
}
```

## Errors

* `401` - Invalid or missing API key
* `403` - You don't have access to this computer
* `404` - Computer not found
* `409` - Computer is not running (e.g. still starting, or already stopped/terminating)


## OpenAPI

````yaml POST /computers/{id}/stop
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}/stop:
    post:
      tags:
        - Computer Lifecycle
      summary: Stop computer
      description: >-
        Stops a running computer. The disk is preserved and no compute is
        charged while stopped; the host is released. Start boots it fresh on a
        new host (new IP).
      operationId: stopComputer
      parameters:
        - name: id
          in: path
          required: true
          description: Computer ID
          schema:
            type: string
      responses:
        '200':
          description: Computer stopping
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  status:
                    type: string
                    example: stopping
        '401':
          $ref: '#/components/responses/Unauthorized'
        '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
    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

````