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

# Get Project Version Numbers

> Get all available version numbers for a project.

This is a simplified endpoint that returns just the version numbers,
useful for dropdown menus or version selection interfaces.

Args:
    project_id: The project ID to fetch versions for

Returns:
    A list of version numbers



## OpenAPI

````yaml openapi.json get /codenull/ai/api/v1/website/{project_id}/version-numbers
openapi: 3.1.0
info:
  title: codenull-ai-backend
  version: 0.1.0
servers: []
security: []
paths:
  /codenull/ai/api/v1/website/{project_id}/version-numbers:
    get:
      tags:
        - generate-website-get
      summary: Get Project Version Numbers
      description: |-
        Get all available version numbers for a project.

        This is a simplified endpoint that returns just the version numbers,
        useful for dropdown menus or version selection interfaces.

        Args:
            project_id: The project ID to fetch versions for

        Returns:
            A list of version numbers
      operationId: api-get_project_version_numbers
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: integer
                title: Response Api-Get Project Version Numbers
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````