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

# List Metadata Model Catalog



## OpenAPI

````yaml /api-v2.json get /metadata-model-catalog
openapi: 3.1.0
info:
  title: Meibel AI API
  summary: Meibel Gateway Service
  description: >-
    Our API allows you to interact with our services. Read the
    [docs](https://docs.meibel.ai) to learn how to use it.
  version: 0.6.4
servers:
  - url: https://api.meibel.ai/v2
    description: Meibel API (v2)
  - url: https://api.dev.meibel.ai/v2
    description: Meibel Dev API (v2)
  - url: http://localhost:8000/v2
    description: Local Development
security: []
tags:
  - name: Datasources
    description: v2 datasource management
  - name: Data Elements
    description: v2 data element CRUD and search
  - name: File Upload
    description: Upload files to a datasource and track upload progress
  - name: Ingest
    description: Trigger and monitor datasource ingestion
  - name: Datasource Downloads
    description: Export all datasource content as a zip archive
  - name: Table Descriptions
    description: v2 table and column descriptions
  - name: Metadata Model Catalog
    description: v2 metadata model catalog
  - name: Confidence Scoring
    description: v2 confidence scoring jobs and summaries
  - name: Documents
    description: Parse and transform documents into structured data
  - name: Agents
    description: Agent definition management
  - name: Sessions
    description: Agent session (execution) management and chat
  - name: Artifact Schemas
    description: Agent artifact schema management
paths:
  /metadata-model-catalog:
    get:
      tags:
        - Metadata Model Catalog
      summary: List Metadata Model Catalog
      operationId: listMetadataModelCatalog
      parameters:
        - name: scope
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Scope
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListMetadataModelCatalogResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
      x-codeSamples:
        - lang: Python
          label: Python
          source: |-
            from meibel import MeibelClient

            client = MeibelClient(api_key="your-api-key")

            result = client.metadata_model_catalog.list()
            print(result)
        - lang: TypeScript
          label: TypeScript
          source: |-
            import { MeibelClient } from 'meibel';

            const client = new MeibelClient({ apiKey: 'your-api-key' });

            const result = await client.metadataModelCatalog.list();
            console.log(result);
        - lang: Go
          label: Go
          source: |-
            import v2 "github.com/meibel-ai/meibel-go/v2"

            client := v2.NewClient(v2.WithAPIKey("your-api-key"))
            ctx := context.Background()

            result, err := client.MetadataModelCatalog.List(ctx)
            if err != nil {
                log.Fatal(err)
            }
            fmt.Println(result)
components:
  schemas:
    ListMetadataModelCatalogResponse:
      properties:
        models:
          items:
            $ref: '#/components/schemas/MetadataModelCatalogEntry'
          type: array
          title: Models
          description: >-
            Catalog entries visible to the caller, filtered by the optional
            scope query param
      type: object
      required:
        - models
      title: ListMetadataModelCatalogResponse
      description: List of available metadata-extraction models in the catalog.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MetadataModelCatalogEntry:
      properties:
        model_id:
          type: string
          title: Model Id
          description: Stable ID used to reference this model when configuring a datasource
        name:
          type: string
          title: Name
          description: Human-readable model name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: What this model is designed to extract
        scope:
          type: string
          title: Scope
          description: Visibility of the model (e.g. 'global', 'customer', 'project')
        fields:
          items:
            $ref: '#/components/schemas/MetadataField'
          type: array
          title: Fields
          description: Field definitions this model extracts
      type: object
      required:
        - model_id
        - name
        - scope
        - fields
      title: MetadataModelCatalogEntry
      description: >-
        A pre-built metadata extraction model from the catalog, selectable by
        model_id.
    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
    MetadataField:
      properties:
        name:
          type: string
          title: Name
          description: Field name (snake_case)
        type:
          type: string
          enum:
            - string
            - integer
            - float
            - boolean
            - datetime
            - uuid
            - geo
            - list[string]
          title: Type
          description: Data type of the field
        description:
          type: string
          title: Description
          description: What this field captures
        index:
          type: boolean
          title: Index
          description: Whether this field is indexed for filtering
          default: true
      type: object
      required:
        - name
        - type
        - description
      title: MetadataField
      description: A single field extracted from documents during ingest.
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: Meibel-API-Key

````