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

# List tool categories

> List categories containing active or disabled tools. Counts exclude draft tools.



## OpenAPI

````yaml /openapi.json get /v1/tool-categories
openapi: 3.1.0
info:
  title: Mouter API
  version: '1.0'
  description: Discover tools, submit tasks, and read results and charges.
servers:
  - url: https://api.mouter.ai
    description: Production
security: []
paths:
  /v1/tool-categories:
    get:
      tags:
        - Tools and prices
      summary: List tool categories
      description: >-
        List categories containing active or disabled tools. Counts exclude
        draft tools.
      operationId: list_tool_categories
      responses:
        '200':
          description: List tool categories
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ToolCategory'
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
        '400':
          $ref: '#/components/responses/Error400'
        '503':
          $ref: '#/components/responses/Error503'
components:
  schemas:
    ToolCategory:
      type: object
      properties:
        category_key:
          type: string
          pattern: ^[a-z][a-z0-9_]{0,63}$
        name:
          type: string
        sort_order:
          type: integer
        tool_count:
          type: integer
          minimum: 1
      required:
        - category_key
        - name
        - sort_order
        - tool_count
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        data:
          type: 'null'
        request_id:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - code
        - message
        - data
        - request_id
  responses:
    Error400:
      description: Invalid request parameters, headers, or body.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error503:
      description: The operation is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.