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

# Start one durable whole-computer checkpoint.

> The operation becomes terminal only when the checkpoint is portable across
Chelsea nodes.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v2/computers/{computer_id}/checkpoints
openapi: 3.1.0
info:
  title: Vers API
  description: >-
    REST API for creating, checkpointing, branching, and managing Vers computers
    and projects.
  version: 2.0.0
servers:
  - url: https://api.vers.sh
    description: Vers API
security:
  - bearerAuth: []
tags:
  - name: Computers
    description: Create, inspect, execute commands in, sleep, wake, and delete computers.
  - name: Branches
    description: Branch one or more computers from a live computer, checkpoint, or tag.
  - name: Checkpoints
    description: Capture, inspect, tag, and delete whole-computer checkpoints.
  - name: Projects
    description: >-
      Organize computers into projects with private service networks and grouped
      restores.
  - name: Operations
    description: Inspect and stream status events for asynchronous durable operations.
  - name: Images
    description: >-
      Import and manage custom OCI images, system images, and registry
      artifacts.
  - name: Repositories
    description: Manage checkpoint repositories, tags, and public catalog entries.
  - name: Domains
    description: Register and manage custom domains.
  - name: Environment Variables
    description: Manage account-level environment variables applied to new computers.
  - name: Account & System
    description: Inspect API key identity, usage, and control-plane health.
paths:
  /api/v2/computers/{computer_id}/checkpoints:
    post:
      tags:
        - Computers
      summary: Start one durable whole-computer checkpoint.
      description: >-
        The operation becomes terminal only when the checkpoint is portable
        across

        Chelsea nodes.
      operationId: checkpoint_computer
      parameters:
        - name: computer_id
          in: path
          description: Source computer identity
          required: true
          schema:
            type: string
            format: uuid
        - name: Idempotency-Key
          in: header
          description: Tenant-scoped operation identity
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateComputerCheckpointRequest'
        required: true
      responses:
        '202':
          description: Checkpoint admitted
          headers:
            Location:
              schema:
                type: string
              description: Durable operation resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
        '400':
          description: Invalid checkpoint request
        '401':
          description: Missing or invalid API key
        '404':
          description: Computer not found
        '409':
          description: >-
            Idempotency key reused or another lifecycle mutation owns the
            computer
        '503':
          description: >-
            Checkpoint admission could not be observed; retry with the same
            Idempotency-Key
components:
  schemas:
    CreateComputerCheckpointRequest:
      type: object
      description: |-
        Request body for an asynchronous whole-computer checkpoint.

        A checkpoint captures the computer's resumable execution state: CPU,
        memory, devices, and root volume. The `Idempotency-Key` header supplies
        the durable operation identity separately from this immutable input.
      properties:
        description:
          type:
            - string
            - 'null'
        keep_paused:
          type: boolean
          description: Leave the source computer paused after its checkpoint is captured.
        name:
          type:
            - string
            - 'null'
        skip_wait_boot:
          type: boolean
          description: Refuse immediately if the source computer has not finished booting.
    Operation:
      type: object
      description: Durable status returned by v2 mutation endpoints and operation lookups.
      required:
        - operation_id
        - kind
        - status
        - resource
        - cursor
        - created_at
        - updated_at
      properties:
        cleanup_operation_id:
          type:
            - string
            - 'null'
          format: uuid
          description: >-
            Server-owned cleanup operation associated with this operation. A

            create using `remove_on_workload_exit` exposes its future delete
            here

            before the workload starts, so cleanup remains observable even after

            the computer is gone.
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
        cursor:
          type: integer
          format: int64
          description: Monotonic durable progress cursor used by the event stream.
          minimum: 0
        failure:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/OperationFailure'
        kind:
          $ref: '#/components/schemas/OperationKind'
        local_result:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/OperationResource'
              description: >-
                Checkpoint available for restore on its source node while
                publication

                is pending. Losing the source data can lose this checkpoint.
                Only a

                successful operation with `result` certifies portability in S3.
        operation_id:
          type: string
          format: uuid
          description: >-
            Caller-selected idempotency identity, scoped to the authenticated
            tenant.
        resource:
          $ref: '#/components/schemas/OperationResource'
        result:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/OperationResource'
              description: >-
                Resource published by the operation. This remains absent until
                the

                operation's atomic publication boundary has committed.
        stage:
          type:
            - string
            - 'null'
          description: >-
            Current durable stage. Intermediate stages may be skipped; the
            stream

            emits a gap event when that happens.
        status:
          $ref: '#/components/schemas/OperationStatus'
        updated_at:
          type: string
          format: date-time
    OperationFailure:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
        message:
          type: string
    OperationKind:
      type: string
      enum:
        - checkpoint
        - create
        - delete
        - image_import
    OperationResource:
      type: object
      required:
        - kind
        - id
      properties:
        id:
          type: string
          format: uuid
        kind:
          $ref: '#/components/schemas/OperationResourceKind'
    OperationStatus:
      type: string
      enum:
        - pending
        - succeeded
        - failed
        - quarantined
    OperationResourceKind:
      type: string
      enum:
        - checkpoint
        - computer
        - image
        - image_import
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Vers API key (`VERS_API_KEY`) sent as `Authorization: Bearer <key>`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.