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

# Get Catalog Facets

> Counts of catalog models grouped by input→output modality pair and by capability, under the same filters as List Models. Only public models are counted, so the totals always agree with what List Models returns.



## OpenAPI

````yaml /platform-openapi.json get /models/facets
openapi: 3.1.0
info:
  title: ModelRunner Platform API
  version: 1.0.0
  description: >-
    Platform APIs: model catalog, search and collections; model pricing rate
    cards; the Serverless GPU catalog and deployment templates; file uploads and
    your asset library; account balance and usage; and webhook delivery
    management. Catalog reads are public; account-scoped routes authenticate
    with your API key (`Authorization: Key <MODELRUNNER_KEY>`). Request
    lifecycle endpoints (submit/status/result and the request list) live on the
    queue host — see the Queue API reference.
servers:
  - url: https://api.modelrunner.run
security: []
paths:
  /models/facets:
    get:
      summary: Get Catalog Facets
      description: >-
        Counts of catalog models grouped by input→output modality pair and by
        capability, under the same filters as List Models. Only public models
        are counted, so the totals always agree with what List Models returns.
      parameters:
        - name: search
          in: query
          schema:
            type: string
          description: Same free-text search as List Models.
        - name: owner
          in: query
          schema:
            type: string
        - name: featured
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: Facet counts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelFacets'
components:
  schemas:
    ModelFacets:
      type: object
      description: >-
        Catalog counts by modality pair and capability, under the same filters
        as List Models.
      properties:
        modalities:
          type: array
          items:
            type: object
            properties:
              input:
                type: string
                description: e.g. text, image, video, audio.
              output:
                type: string
              count:
                type: integer
        capabilities:
          type: array
          items:
            type: object
            properties:
              capability:
                type: string
                description: e.g. edit, upscale, extend, remove_background.
              count:
                type: integer
        total:
          type: integer
          description: Models matching the filters.

````