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

# Create an empty project.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v2/projects
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/projects:
    post:
      tags:
        - Projects
      summary: Create an empty project.
      operationId: create_project
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProjectRequest'
        required: true
      responses:
        '201':
          description: Project created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          description: Invalid project metadata
        '403':
          description: Organization-wide key required
        '404':
          description: Parent project not found
        '409':
          description: Invalid hierarchy or duplicate name
components:
  schemas:
    CreateProjectRequest:
      type: object
      description: Project creation metadata. A null parent creates a root project.
      required:
        - name
      properties:
        description:
          type:
            - string
            - 'null'
          description: At most 4096 bytes.
        name:
          type: string
          description: >-
            Trimmed name, 3 to 64 characters. Unique among active projects in
            the organization.
        parent_project_id:
          type:
            - string
            - 'null'
          format: uuid
          description: >-
            Containing project in the same organization; null creates a root
            project.
      additionalProperties: false
    Project:
      type: object
      required:
        - project_id
        - org_id
        - name
        - created_at
        - updated_at
      properties:
        created_at:
          type: string
          format: date-time
        created_by:
          type:
            - string
            - 'null'
          format: uuid
        description:
          type:
            - string
            - 'null'
        name:
          type: string
        org_id:
          type: string
          format: uuid
        parent_project_id:
          type:
            - string
            - 'null'
          format: uuid
        project_id:
          type: string
          format: uuid
        updated_at:
          type: string
          format: date-time
  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.