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

# List VMs

> List all virtual machines for the current user.



## OpenAPI

````yaml /api-reference/openapi.json get /vms
openapi: 3.1.0
info:
  title: Nova Cloud API
  description: >-
    REST API for the Nova Cloud GPU rental platform. Manage virtual machines,
    SSH keys, billing, and more.
  version: 1.0.0
  contact:
    name: Nova Cloud Support
    email: support@nova-cloud.ai
    url: https://nova-cloud.ai
servers:
  - url: https://api.nova-cloud.ai
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Authentication
    description: User registration, login, and token management
  - name: API Keys
    description: Create and manage API keys for programmatic access
  - name: SSH Keys
    description: Upload and manage SSH public keys for VM access
  - name: Virtual Machines
    description: Create, manage, and monitor GPU-powered VMs
  - name: Search & Pricing
    description: Browse available GPU offers and current pricing
  - name: Billing
    description: Balance, usage, transactions, and payment management
  - name: Reservations
    description: Reserved instance pricing and management
paths:
  /vms:
    get:
      tags:
        - Virtual Machines
      summary: List VMs
      description: List all virtual machines for the current user.
      operationId: list_vms
      parameters:
        - name: include_destroyed
          in: query
          schema:
            type: boolean
            default: false
          description: Include destroyed VMs in the response
      responses:
        '200':
          description: List of VMs
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VMResponse'
components:
  schemas:
    VMResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        vmid:
          type: integer
        user_id:
          type: integer
        node:
          type: string
        instance_label:
          type: string
          nullable: true
        gpu_type:
          type: string
        gpu_count:
          type: integer
        storage_gb:
          type: integer
        ram_gb:
          type: integer
        cpu_cores:
          type: integer
        ip_address:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - creating
            - starting
            - running
            - stopping
            - stopped
            - interrupted
            - destroyed
            - failed
            - offline
        created_at:
          type: string
          format: date-time
        started_at:
          type: string
          format: date-time
          nullable: true
        stopped_at:
          type: string
          format: date-time
          nullable: true
        rental_type:
          type: string
          enum:
            - on_demand
            - reserved
            - interruptible
        reservation_id:
          type: string
          nullable: true
        auto_restart:
          type: boolean
          nullable: true
        hourly_rate:
          type: number
          nullable: true
        gpu_hourly_rate:
          type: number
          nullable: true
        storage_hourly_rate:
          type: number
          nullable: true
        cpu_percent:
          type: number
        ram_percent:
          type: number
        cpu_model:
          type: string
          nullable: true
        pcie_gen:
          type: string
          nullable: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or API Key
      description: Use a JWT access token or API key (prefixed with nv_)

````