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

# The portal's unified catalog

> One page of the LLM providers, data sources, tools and plugin resources the authenticated user can build an app with, in one item shape, with the catalogs each is available through. Search (q), filters (type, kind, privacy, catalog, community), sort and paging (page, page_size) are applied on the server; meta carries the facets for the filter controls. Visibility follows the user's teams and their catalogs.



## OpenAPI

````yaml /swagger/5.16/ai-studio-swagger.yml get /common/catalog
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /common/catalog:
    get:
      tags:
        - common
      summary: The portal's unified catalog
      description: >-
        One page of the LLM providers, data sources, tools and plugin resources
        the authenticated user can build an app with, in one item shape, with
        the catalogs each is available through. Search (q), filters (type, kind,
        privacy, catalog, community), sort and paging (page, page_size) are
        applied on the server; meta carries the facets for the filter controls.
        Visibility follows the user's teams and their catalogs.
      parameters:
        - name: q
          in: query
          description: Search terms (all must match)
          schema:
            type: string
        - name: type
          in: query
          description: llm | datasource | tool | plugin_resource
          schema:
            type: string
        - name: kind
          in: query
          description: Vendor code, store type, protocol or <plugin id>:<slug>
          schema:
            type: string
        - name: privacy
          in: query
          description: public | internal | confidential | restricted
          schema:
            type: string
        - name: catalog
          in: query
          description: <type>:<catalog id>
          schema:
            type: string
        - name: community
          in: query
          description: Community submissions only
          schema:
            type: boolean
        - name: sort
          in: query
          description: newest (default) | name | privacy_asc | privacy_desc
          schema:
            type: string
        - name: page
          in: query
          description: Page number (1-based)
          schema:
            type: integer
        - name: page_size
          in: query
          description: Items per page (default 25, max 100)
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.CatalogListResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
components:
  schemas:
    api.CatalogListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/api.CatalogItem'
        meta:
          $ref: '#/components/schemas/api.CatalogListMeta'
    api.ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
              title:
                type: string
      description: Error response model
    api.CatalogItem:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/api.CatalogItemAttributes'
        governed_metadata:
          type: object
          description: Portal-visible governed metadata (Enterprise), display-ready.
        id:
          type: string
        type:
          type: string
    api.CatalogListMeta:
      type: object
      properties:
        catalogs:
          type: array
          items:
            $ref: '#/components/schemas/api.CatalogFilterOption'
        counts:
          type: object
          additionalProperties:
            type: integer
        kinds:
          type: array
          items:
            $ref: '#/components/schemas/api.CatalogKindFacet'
        page:
          type: integer
        page_size:
          type: integer
        resource_types:
          type: array
          items:
            $ref: '#/components/schemas/api.CatalogResourceType'
        total:
          type: integer
        total_pages:
          type: integer
    api.CatalogItemAttributes:
      type: object
      properties:
        access_granted_via_app:
          type: boolean
          description: >-
            AccessGrantedViaApp says whether building an App is how a developer

            gets to use this item. Always true for LLM providers, data sources
            and

            tools; for plugin resources it is the type's resolved value with any

            per-instance override applied. When false the portal shows no

            "Build app" action.


            PortalDetailURL is the providing plugin's own page for the item, set

            whenever the type declared portal_detail_path. When access is not

            granted through an App it replaces the built-in detail page as the

            item's detail view; otherwise it is a secondary link next to

            "Build app".
        allowed_models:
          type: array
          items:
            type: string
        auth_header:
          type: string
        auth_mode:
          type: string
          description: >-
            MCP servers (Tyk-managed): how a client reaches the proxy and what
            it

            offers. Brokerable says whether an App credential can be minted for
            it.
        brokerable:
          type: boolean
        catalogs:
          type: array
          items:
            $ref: '#/components/schemas/api.CatalogRef'
        community_submitted:
          type: boolean
        created_at:
          type: string
        default_model:
          type: string
          description: LLM providers
        embed_model:
          type: string
        embed_vendor:
          type: string
          description: Data sources
        endpoint_url:
          type: string
        endpoint_urls:
          type: object
          additionalProperties:
            type: string
        gateway_tags:
          type: array
          items:
            type: string
        kind:
          type: string
          description: >-
            Kind is the type-specific sub-classification: the vendor code of an
            LLM

            provider, the store type of a data source, the protocol of a tool
            and

            "<plugin id>:<slug>" for a plugin resource. KindLabel is set when
            the

            backend knows a display name (plugin resource types); the UI maps
            the

            built-in codes itself.
        kind_label:
          type: string
        logo_url:
          type: string
        long_description:
          type: string
        mcp_access_enabled:
          type: boolean
        mcp_endpoint_url:
          type: string
        metadata:
          type: object
          additionalProperties: true
        models:
          type: array
          description: |-
            Detail responses only: the known models and the provider's metadata
            (secrets redacted, as on the admin API).
          items:
            $ref: '#/components/schemas/api.CatalogModelInfo'
        name:
          type: string
        oauth:
          $ref: '#/components/schemas/models.MCPProtectedResourceMetadata'
        operations:
          type: array
          description: >-
            Tools. A tool is served by the AI Studio gateway; the access methods
            say

            how an App may reach it, and each URL is present only when its
            method is

            switched on. A tool with neither method on is chat only and is not
            in

            the catalog at all.
          items:
            type: string
        portal_detail_url:
          type: string
        primitives:
          type: array
          items:
            $ref: '#/components/schemas/models.MCPPrimitive'
        privacy_score:
          type: integer
        resource_type:
          type: object
          description: Plugin resources
          allOf:
            - $ref: '#/components/schemas/api.CatalogResourceType'
        rest_access_enabled:
          type: boolean
        rest_endpoint_url:
          type: string
        router_llms:
          type: array
          items:
            $ref: '#/components/schemas/api.CatalogRouterLLM'
        router_models:
          type: array
          items:
            type: string
        router_routes:
          type: array
          description: >-
            RouterRoutes are a Semantic Router's routes (name and description;
            the

            examples and keywords that pick them are configuration and stay
            out).
          items:
            $ref: '#/components/schemas/api.CatalogRouterRoute'
        router_slug:
          type: string
          description: |-
            Model Routers: the slug, the "{slug}/{model}" strings a client sends
            to the unified ingress, and (detail only) the LLMs it can route to.
        short_description:
          type: string
        tags:
          type: array
          items:
            type: string
        updated_at:
          type: string
    api.CatalogFilterOption:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          type: string
    api.CatalogKindFacet:
      type: object
      properties:
        count:
          type: integer
        kind:
          type: string
        label:
          type: string
        type:
          type: string
    api.CatalogResourceType:
      type: object
      properties:
        access_granted_via_app:
          type: boolean
          description: >-
            AccessGrantedViaApp is the type-level answer to "does an App
            credential

            grant access to these?"; the item carries the per-instance value.
        icon:
          type: string
        name:
          type: string
        plugin_id:
          type: integer
        slug:
          type: string
    api.CatalogRef:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
    api.CatalogModelInfo:
      type: object
      properties:
        currency:
          type: string
        input_price_per_million:
          type: number
        is_default:
          type: boolean
        name:
          type: string
        output_price_per_million:
          type: number
    models.MCPProtectedResourceMetadata:
      type: object
      properties:
        authorization_servers:
          type: array
          items:
            type: string
        auto_derive_scopes:
          type: boolean
        resource:
          type: string
        scopes_supported:
          type: array
          items:
            type: string
        url:
          type: string
          description: URL is the absolute metadata URL when the endpoint URL is known.
        well_known_path:
          type: string
    models.MCPPrimitive:
      type: object
      properties:
        annotations:
          type: object
          additionalProperties: true
        auth:
          type: object
          description: Auth records per-primitive overrides from the definition.
          allOf:
            - $ref: '#/components/schemas/models.MCPPrimitiveAuth'
        description:
          type: string
        name:
          type: string
        source:
          type: string
          description: Source names the REST operation behind a REST-to-MCP tool.
        type:
          type: string
          description: tool | resource | prompt
    api.CatalogRouterLLM:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        vendor:
          type: string
    api.CatalogRouterRoute:
      type: object
      properties:
        default:
          type: boolean
        description:
          type: string
        name:
          type: string
    models.MCPPrimitiveAuth:
      type: object
      properties:
        ignore_authentication:
          type: boolean
        scopes:
          type: array
          items:
            type: string

````