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

# List Categories

> Major/sub-category breakdown of the marketplace catalog, in catalog order.

Registered before /{connector_type} so this static path isn't swallowed by
that catch-all route.



## OpenAPI

````yaml https://api.aiql.io/openapi.json get /connectors/categories
openapi: 3.1.0
info:
  title: aiql-api
  version: 0.1.0
servers:
  - url: https://api.aiql.io
security: []
tags:
  - name: Health
    description: Service health checks.
  - name: Workspaces
    description: Workspace management.
  - name: Ingestions
    description: Document ingestion pipeline.
  - name: Queries
    description: Natural-language queries.
  - name: Sources
    description: Ingested sources and their contents.
  - name: Requests
    description: Source addition/removal requests awaiting review.
  - name: Request Changes
    description: Individual source add/remove changes on a request.
  - name: Request Reviews
    description: Reviews of a request, including draft and submit.
  - name: Request Comments
    description: Comments on a request review.
  - name: Canvases
    description: Brainstorm canvases.
  - name: Dashboards
    description: Dashboards.
  - name: Presentations
    description: Slide presentations.
  - name: Tools
    description: Standalone convert/split/shape/extract tools.
  - name: Connectors
    description: Connector catalog and connect flows.
  - name: Connections
    description: Workspace connector connections.
paths:
  /connectors/categories:
    get:
      tags:
        - Connectors
      summary: List Categories
      description: >-
        Major/sub-category breakdown of the marketplace catalog, in catalog
        order.


        Registered before /{connector_type} so this static path isn't swallowed
        by

        that catch-all route.
      operationId: list_categories_connectors_categories_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ConnectorCategory'
                type: array
                title: Response List Categories Connectors Categories Get
        '401':
          description: 'Authentication failed: missing or invalid API key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |-
            curl https://api.aiql.io/connectors/categories \
              -H "Authorization: Bearer $AIQL_API_KEY"
components:
  schemas:
    ConnectorCategory:
      properties:
        major_category:
          type: string
          title: Major Category
          description: Top-level marketplace grouping, e.g. 'Document Storage'.
        categories:
          items:
            type: string
          type: array
          title: Categories
          description: >-
            Sub-categories under this major category, e.g. 'Cloud File Storage',
            in catalog order.
        connector_count:
          type: integer
          title: Connector Count
          description: Number of catalog entries under this major category.
        connectable_count:
          type: integer
          title: Connectable Count
          description: Number of those entries that are connectable through this API today.
      type: object
      required:
        - major_category
        - categories
        - connector_count
        - connectable_count
      title: ConnectorCategory
    ErrorResponse:
      type: object
      title: ErrorResponse
      properties:
        detail:
          type: string
          title: Detail
      required:
        - detail
  securitySchemes:
    HTTPBearer:
      type: http
      description: API key passed as a Bearer token in the Authorization header.
      scheme: bearer

````