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

# Search Model Version Configs

> Fetches a list of all registered model version configs for a given Model Endpoint.



## OpenAPI

````yaml GET /v2/model_version_configs
openapi: 3.1.0
info:
  title: GenAI API Spec
  description: 'Data Engine: Generative AI API Specification'
  version: 0.0.1
servers:
  - url: https://api.scale.com
security:
  - bearerAuth: []
  - basicAuth: []
paths:
  /v2/model_version_configs:
    get:
      summary: Search Model Version Configs
      description: >-
        Fetches a list of all registered model version configs for a given Model
        Endpoint.
      parameters:
        - in: query
          name: modelEndpoint
          required: true
          schema:
            type: string
          description: Model Endpoint ID
      responses:
        '200':
          description: Successfully retrieved model version configs.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ModelVersionConfig'
        '400':
          description: Missing or invalid modelId.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: number
                    example: 500
                  error:
                    type: string
                    example: Missing or invalid modelId.
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: number
                    example: 500
                  error:
                    type: string
                    example: Internal server error.
components:
  schemas:
    ModelVersionConfig:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the Model Version Config.
        name:
          type: string
          description: Human-readable name for the Model Version Config.
        url:
          type: string
          description: Model endpoint URL.
        params:
          type: object
          additionalProperties: true
          description: Configuration parameters for the model.
        customerId:
          type: string
          description: Owner of the Model Version Config.
        modelEndpoint:
          type: string
          description: ID of the parent Model Endpoint.
        status:
          type: string
          enum:
            - active
            - errored
            - archived
        createdAt:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      description: >-
        Your API Key is the Bearer token. See the
        [Authentication](/get-started/authentication) section to learn how to
        access your key.
      type: http
      scheme: bearer
    basicAuth:
      description: >-
        Basic HTTP Authentication. Your API Key is your username.  Learn more
        about setting up Authentication [here](/get-started/authentication).
      type: http
      scheme: basic

````