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

# List Media Variant Types

> Retrieve all media variant types for your organization. Variant types define the different formats of media that can be uploaded (e.g., original video, sermon audio, full service).



## OpenAPI

````yaml GET /media/variantTypes
openapi: 3.1.0
info:
  title: Haystack API
  description: Content management and semantic search API for Haystack
  version: 2.0.0
  contact:
    name: Haystack Support
    email: support@thehaystack.ai
    url: https://thehaystack.ai
servers:
  - url: https://api.thehaystack.ai/v2/haystack
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Items
    description: Content item management
  - name: Collections
    description: Top-level content organization
  - name: Series
    description: Multi-part content grouping
  - name: Speakers
    description: Content presenter management
  - name: Media
    description: Video and audio asset management
  - name: Search
    description: Semantic content search
  - name: Analytics
    description: Usage statistics and metrics
  - name: Resources
    description: Attach supplementary files, links, and videos to items
  - name: Scriptures
    description: Attach Bible references to items
  - name: Chapters
    description: Time-based chapter markers on media assets
  - name: Stats
    description: Analytics and reporting
  - name: Frontend
    description: Public frontend configuration
paths:
  /media/variantTypes:
    get:
      tags:
        - Media
      summary: List media variant types
      description: >-
        Retrieve all media variant types for your organization. Variant types
        define the different formats of media that can be uploaded (e.g.,
        original video, sermon audio, full service).
      parameters:
        - $ref: '#/components/parameters/_limit'
        - $ref: '#/components/parameters/_offset'
        - $ref: '#/components/parameters/_orderBy'
        - $ref: '#/components/parameters/_withDeleted'
      responses:
        '200':
          description: List of media variant types with pagination metadata
          content:
            application/json:
              schema:
                type: object
                properties:
                  variantTypes:
                    type: array
                    items:
                      $ref: '#/components/schemas/MediaVariantType'
                  limit:
                    type: integer
                  offset:
                    type: integer
                  page:
                    type: integer
                  totalRecords:
                    type: integer
                  totalPages:
                    type: integer
                  hasMore:
                    type: boolean
components:
  parameters:
    _limit:
      name: _limit
      in: query
      description: 'Maximum number of records to return (max: 100, default: 50)'
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
    _offset:
      name: _offset
      in: query
      description: 'Number of records to skip for pagination (default: 0)'
      required: false
      schema:
        type: integer
        minimum: 0
        default: 0
    _orderBy:
      name: _orderBy[]
      in: query
      description: >-
        Sort order in format 'fieldName,direction' (e.g., 'title,ASC'). Use
        multiple _orderBy[] parameters for multi-field sorting.
      required: false
      schema:
        type: array
        items:
          type: string
          pattern: ^[a-zA-Z]+,(ASC|DESC)$
          example: title,ASC
      explode: true
    _withDeleted:
      name: _withDeleted
      in: query
      description: Include soft-deleted records in the results
      required: false
      schema:
        type: boolean
        default: false
  schemas:
    MediaVariantType:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
          example: Sermon Video
        contentType:
          type: string
          enum:
            - video
            - audio
        indexable:
          type: boolean
          description: Whether this variant can be indexed for search
        displayOrder:
          type: integer
          description: Order shown to users
        collectionId:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Enter your API token from the Haystack dashboard

````