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

# List Categories

> Category counts for the filter chips, plus the total behind the "All" chip.



## OpenAPI

````yaml /api/openapi.json get /v1/templates/catalog/categories
openapi: 3.1.0
info:
  title: MeshAPI
  description: One key, all AI models.
  version: 0.1.0
servers:
  - url: https://api.meshapi.ai
security:
  - BearerAuth: []
paths:
  /v1/templates/catalog/categories:
    get:
      tags:
        - Templates
      summary: List Categories
      description: >-
        Category counts for the filter chips, plus the total behind the "All"
        chip.
      operationId: list_categories
      parameters:
        - in: header
          name: X-Mesh-Version
          required: false
          schema:
            type: string
            enum:
              - 2026-08
            default: 2026-08
          example: 2026-08
          description: >-
            Dated version of the API contract to pin this request to. Omit it
            and the request is served under `2026-08` — the oldest supported
            version, so an existing integration is never moved by a release. A
            malformed or unsupported value is rejected with `400
            invalid_api_version` rather than falling back silently. The version
            actually served is echoed as `X-Mesh-Version` on every response,
            including errors.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CategoryCounts'
        '400':
          description: No org context on the caller's identity
        '401':
          description: Missing or invalid credentials
      security:
        - BearerAuth: []
components:
  schemas:
    CategoryCounts:
      properties:
        categories:
          items:
            $ref: '#/components/schemas/CategoryCount'
          type: array
          title: Categories
        total:
          type: integer
          title: Total
      type: object
      required:
        - categories
        - total
      title: CategoryCounts
    CategoryCount:
      properties:
        category:
          type: string
          title: Category
        count:
          type: integer
          title: Count
      type: object
      required:
        - category
        - count
      title: CategoryCount
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Enter your MeshAPI key (`rsk_...`) — sent as `Authorization: Bearer
        <key>`.

````