> ## 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.

# List Roots

> List roots for a connector source with keyset pagination.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/knowledge-base/knowledge-bases/{kb_id}/sources/{source_id}/roots
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-base/knowledge-bases/{kb_id}/sources/{source_id}/roots:
    get:
      tags:
        - knowledge-base-connectors
      summary: List Roots
      description: List roots for a connector source with keyset pagination.
      operationId: >-
        list_roots_v1_knowledge_base_knowledge_bases__kb_id__sources__source_id__roots_get
      parameters:
        - name: kb_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Kb Id
        - name: source_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Source Id
        - 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
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CursorPage_RootResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    CursorPage_RootResponse_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/RootResponse'
          type: array
          title: Items
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        has_more:
          type: boolean
          title: Has More
      type: object
      required:
        - items
        - has_more
      title: CursorPage[RootResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RootResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        knowledge_base_source_id:
          type: string
          format: uuid
          title: Knowledge Base Source Id
        provider_item_id:
          type: string
          maxLength: 255
          title: Provider Item Id
        item_type:
          type: string
          maxLength: 50
          title: Item Type
        display_name:
          type: string
          maxLength: 500
          title: Display Name
        source_url:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Source Url
        is_recursive:
          type: boolean
          title: Is Recursive
          default: false
        metadata:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Metadata
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - knowledge_base_source_id
        - provider_item_id
        - item_type
        - display_name
        - created_at
        - updated_at
      title: RootResponse
    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

````