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

# List knowledge folders

> Returns the tenant's native knowledge folder tree (id, name, parentId, derived path, and direct doc count).



## OpenAPI

````yaml https://assist.i.moneyforward.com/api/v1/openapi.json get /api/v1/knowledge-folders
openapi: 3.1.0
info:
  title: Minabot Public API
  description: >-
    Read-only REST API for querying sessions and knowledge articles. Requires an
    API key issued from the Admina admin panel.


    ### Rate limits

    Not currently enforced at the HTTP layer. Respect upstream DynamoDB capacity
    when making bulk requests (keep concurrency under ~20 RPS per key).
  version: 1.0.0
  contact:
    name: Minabot
    url: https://github.com/moneyforward-i/minabot
servers:
  - url: https://assist.i.moneyforward.com
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/knowledge-folders:
    get:
      tags:
        - Knowledge
      summary: List knowledge folders
      description: >-
        Returns the tenant's native knowledge folder tree (id, name, parentId,
        derived path, and direct doc count).
      operationId: getApiV1KnowledgeFolders
      responses:
        '200':
          description: Folder tree
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    const: true
                  folders:
                    type: array
                    items:
                      type: object
                      properties:
                        folderId:
                          type: string
                        name:
                          type: string
                        parentId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        path:
                          type: string
                          description: Slash-joined path from root, e.g. "Manuals/Network"
                        docCount:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                          description: Docs directly in this folder (derived, not stored)
                        createdAt:
                          type: string
                          format: date-time
                          pattern: >-
                            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                        updatedAt:
                          type: string
                          format: date-time
                          pattern: >-
                            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                      required:
                        - folderId
                        - name
                        - parentId
                        - path
                        - docCount
                        - createdAt
                        - updatedAt
                  count:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                required:
                  - ok
                  - folders
                  - count
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    const: false
                  error:
                    type: string
                    description: Human-readable error message
                required:
                  - ok
                  - error
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key created via the Admina admin panel (`Settings → API Keys →
        Create`). Format: `mb_live_<40-hex>`.

````