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

# Get module versions

> Retrieves all versions of a specific module. Each version includes the compiled program hash, version string, and compilation metadata.



## OpenAPI

````yaml /data-processor-api/openapi/openapi-hdp-server.json get /modules/{id}/versions
openapi: 3.1.0
info:
  title: Herodotus Data Processor Server API
  description: API documentation for the Herodotus Data Processor Server
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://staging.hdp.api.herodotus.cloud
    description: Staging API endpoint
security: []
tags:
  - name: tasks
    description: Task management endpoints
  - name: health
    description: Health check endpoints
  - name: modules
    description: Module registry endpoints
paths:
  /modules/{id}/versions:
    get:
      tags:
        - modules
      summary: Get module versions
      description: >-
        Retrieves all versions of a specific module. Each version includes the
        compiled program hash, version string, and compilation metadata.
      operationId: getModuleVersions
      parameters:
        - name: id
          in: path
          description: The unique identifier of the module
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Module versions retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Program'
        '404':
          description: Module not found
        '500':
          description: Internal server error
components:
  schemas:
    Program:
      type: object
      required:
        - hash
        - storageType
        - createdAt
      properties:
        createdAt:
          type: string
          format: date-time
        hash:
          type: string
        moduleRegistryId:
          type:
            - string
            - 'null'
        program: {}
        s3Key:
          type:
            - string
            - 'null'
        storageType:
          type: string
        version:
          type:
            - string
            - 'null'
        versionChangelog:
          type:
            - string
            - 'null'

````