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

# Paginated list of knowledge-gap clusters with filters and sort



## OpenAPI

````yaml /api-reference/openapi.json get /v1/knowledge-gaps/clusters
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/knowledge-gaps/clusters:
    get:
      tags:
        - knowledge-gap-analytics
      summary: Paginated list of knowledge-gap clusters with filters and sort
      operationId: listKnowledgeGapClusters
      parameters:
        - name: agent_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Agent Id
        - name: gap_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Gap Type
        - name: product_area
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Product Area
        - name: priority
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Priority
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Status filter. Omit for the default (open statuses: active,
              acknowledged, in_progress, reopened). Pass 'all' to include
              terminal states, or a comma-separated allowlist.
            title: Status
          description: >-
            Status filter. Omit for the default (open statuses: active,
            acknowledged, in_progress, reopened). Pass 'all' to include terminal
            states, or a comma-separated allowlist.
        - name: owner_user_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Owner User Id
        - name: sort
          in: query
          required: false
          schema:
            type: string
            pattern: ^(impact_score:desc|last_seen_at:desc|affected_sessions:desc)$
            default: impact_score:desc
            title: Sort
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
        - name: start_date
          in: query
          required: true
          schema:
            type: string
            format: date
            title: Start Date
        - name: end_date
          in: query
          required: true
          schema:
            type: string
            format: date
            title: End Date
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClusterListResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ClusterListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ClusterListRow'
          type: array
          title: Items
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      type: object
      required:
        - items
      title: ClusterListResponse
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ClusterListRow:
      properties:
        cluster_id:
          type: string
          format: uuid
          title: Cluster Id
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
        agent_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Agent Id
        gap_type:
          type: string
          title: Gap Type
        product_area:
          anyOf:
            - type: string
            - type: 'null'
          title: Product Area
        priority:
          anyOf:
            - type: string
            - type: 'null'
          title: Priority
        status:
          type: string
          title: Status
        impact_score:
          type: number
          title: Impact Score
        member_count:
          type: integer
          title: Member Count
        affected_sessions:
          type: integer
          title: Affected Sessions
        escalation_count:
          type: integer
          title: Escalation Count
        unresolved_count:
          type: integer
          title: Unresolved Count
        gap_event_count:
          type: integer
          title: Gap Event Count
        owner_user_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Owner User Id
        first_seen_at:
          type: string
          format: date-time
          title: First Seen At
        last_seen_at:
          type: string
          format: date-time
          title: Last Seen At
        fixed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Fixed At
        reopened_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reopened At
      type: object
      required:
        - cluster_id
        - gap_type
        - status
        - impact_score
        - member_count
        - affected_sessions
        - escalation_count
        - unresolved_count
        - gap_event_count
        - first_seen_at
        - last_seen_at
      title: ClusterListRow
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````