---
title: "List folders"
method: GET
path: "/api/folders"
tags: ["Folders"]
---

# List folders

`GET /api/folders`

## Request

- Base URL: `https://api.engram.page`
- URL: `https://api.engram.page/api/folders`
- Auth: HTTP bearer

Returns every folder in the current vault with its note count, plus a stable marker id and parent id so clients can rebuild the folder hierarchy. Derived (no-marker) folders and the root return a null id and are not eligible as parents.

## Response `200`

Folders

- FoldersResponse
  - `folders` Folder[], required
    - `count` integer
    - `id` string, uuid, nullable
    - `name` string, required
    - `parent_id` string, uuid, nullable

---

[API](https://skmtc.dev/engram/apis/engram-api.md) · [All operations](https://skmtc.dev/engram/apis/engram-api/llms.txt) · [OpenAPI document](https://skmtc.dev/engram/apis/engram-api/revisions/8c4c2eec29dc?raw)
