---
title: "Get knowledge folder structure with note counts."
method: GET
path: "/v3/enterprise/knowledge/folders"
tags: ["notes"]
---

# Get knowledge folder structure with note counts.

`GET /v3/enterprise/knowledge/folders`

Return the full folder tree with per-folder note counts.

## Response `200`

Successful Response

- FolderTreeResponse — Response for the folder-structure endpoint.
  - `folders` FolderSummary[], required
    - `folder_id` string, required
    - `name` string, required
    - `note_count` integer, required
    - `parent_folder_id` string, nullable
    - `path` string, required
  - `root_note_count` integer, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Content
- `429` — Too Many Requests

---

[API](https://skmtc.net/devinenterprise/apis/devin-api-v1.md) · [All operations](https://skmtc.net/devinenterprise/apis/devin-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/devinenterprise/devin-api-v1/versions/e3244476af1c/schema)
