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

# Get Submission Versions

> Get all versions in the version chain for a submission.

Returns the full version history, ordered by version number.
If the submission's asset is standalone (not part of a version chain),
returns a single-item list containing just that submission.

Authentication: Requires X-API-Key header with valid API key.

Raises:
    404: If submission not found or not in the authenticated workspace.



## OpenAPI

````yaml /openapi.json get /api/integrations/submissions/{submission_id}/versions
openapi: 3.1.0
info:
  title: Midmarket Integrations API
  description: An API for Midmarket integrations.
  version: 0.1.0
servers:
  - url: https://mm-midmarket-integrations-api-preview.azurewebsites.net
    description: preview
security: []
paths:
  /api/integrations/submissions/{submission_id}/versions:
    get:
      tags:
        - submissions
      summary: Get Submission Versions
      description: |-
        Get all versions in the version chain for a submission.

        Returns the full version history, ordered by version number.
        If the submission's asset is standalone (not part of a version chain),
        returns a single-item list containing just that submission.

        Authentication: Requires X-API-Key header with valid API key.

        Raises:
            404: If submission not found or not in the authenticated workspace.
      operationId: >-
        get_submission_versions_api_integrations_submissions__submission_id__versions_get
      parameters:
        - name: submission_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Submission Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionVersionsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - apiKey: []
components:
  schemas:
    SubmissionVersionsResponse:
      properties:
        versions:
          items:
            $ref: '#/components/schemas/AssetVersionResponse'
          type: array
          title: Versions
          description: Ordered list of versions
        total:
          type: integer
          title: Total
          description: Total number of versions
      type: object
      required:
        - versions
        - total
      title: SubmissionVersionsResponse
      description: Response for listing all versions of a submission.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AssetVersionResponse:
      properties:
        assetId:
          type: string
          format: uuid
          title: Assetid
          description: Asset ID
        submissionId:
          type: string
          format: uuid
          title: Submissionid
          description: Parent submission ID
        versionNumber:
          type: integer
          title: Versionnumber
          description: Version number
        name:
          type: string
          title: Name
          description: Original filename
        createdAt:
          type: string
          format: date-time
          title: Createdat
          description: Creation timestamp
        status:
          anyOf:
            - $ref: '#/components/schemas/SubmissionStatus'
            - type: 'null'
          description: Submission status
        issueCount:
          anyOf:
            - type: integer
            - type: 'null'
          title: Issuecount
          description: Number of issues found
      type: object
      required:
        - assetId
        - submissionId
        - versionNumber
        - name
        - createdAt
      title: AssetVersionResponse
      description: A single version in the version history.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    SubmissionStatus:
      type: string
      enum:
        - uploading
        - submitted
        - queued
        - processing
        - complete
        - failed
        - partial
      title: SubmissionStatus
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Workspace-scoped API key. Format: sk_live_{64 hex chars}'
      x-default: sk_live_your_api_key_here

````