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

# List heuristic classifiers (keyword/embedding)

> All classifiers, newest first. Open to viewers (read-only).



## OpenAPI

````yaml get /api/airouter/classifiers
openapi: 3.1.0
info:
  title: Nx1 AI API
  description: |

    AI API for Nx1 Data Platform Management and Automated Data Tasks.

    Authentication is required via PSK in Authorization header.

    Default PSK is | [ask a friend] |
  version: 0.10.2
servers: []
security: []
paths:
  /api/airouter/classifiers:
    get:
      tags:
        - AI Router
      summary: List heuristic classifiers (keyword/embedding)
      description: All classifiers, newest first. Open to viewers (read-only).
      operationId: list_classifiers_api_airouter_classifiers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClassifierListResponse'
      security:
        - OAuth2AuthorizationCodeBearer: []
        - APIKeyHeader: []
components:
  schemas:
    ClassifierListResponse:
      properties:
        classifiers:
          items:
            $ref: '#/components/schemas/RouterClassifier'
          type: array
          title: Classifiers
      type: object
      title: ClassifierListResponse
      description: All classifiers, newest first.
    RouterClassifier:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        classifier_type:
          type: string
          enum:
            - keyword
            - embedding
          title: Classifier Type
          default: keyword
        domain:
          type: string
          title: Domain
        keywords:
          items:
            type: string
          type: array
          title: Keywords
        phrases:
          items:
            type: string
          type: array
          title: Phrases
        operator:
          type: string
          enum:
            - OR
            - AND
          title: Operator
          default: OR
        threshold:
          type: number
          title: Threshold
          default: 0.7
        case_sensitive:
          type: boolean
          title: Case Sensitive
          default: false
        enabled:
          type: boolean
          title: Enabled
          default: true
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
      type: object
      required:
        - id
        - name
        - domain
      title: RouterClassifier
      description: |-
        A persisted heuristic classifier (keyword/embedding) mapping prompts
        to a governance domain. Compiled into the router config on publish.
  securitySchemes:
    OAuth2AuthorizationCodeBearer:
      type: oauth2
      flows:
        authorizationCode:
          scopes: {}
          authorizationUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/auth
          tokenUrl: >-
            https://sso-rapid.rapid.nx1cloud.com/realms/rapid/protocol/openid-connect/token
    APIKeyHeader:
      type: apiKey
      in: header
      name: Authorization-PSK

````