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

# List library folders

`GET /folders`

## Request

- Base URL: `https://api.braiv.co/v1`
- URL: `https://api.braiv.co/v1/folders`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`

Returns Studio folders in the API key or OAuth library (up to 200).
Soft-deleted folders and the reserved All Videos folder are omitted.
Each item includes `parentId` and a name `path` so agents can rebuild
the tree. Optional `parentId` lists direct children of that folder.
Required scope: `videos:read`.

## Query parameters

- `parentId` string

## Response `200`

Folders in the caller's library.

- FolderList
  - `folders` Folder[], required: Folders in the caller's library.
    - `id` string, required: Studio folder id. Pass as folderId on createVideo.
    - `name` string, required: Display name.
    - `parentId` string, nullable, required: Parent folder id, or null at the library root.
    - `path` string[], required: Ancestor names from the root through this folder.
    - `workspaceId` string: Present when the folder belongs to a workspace library.

## Other responses

- `401`: A supported authentication header is missing or contains an invalid Public API key.
- `403`: Authentication succeeded, but the required scope, workspace role, or resource permission is missing.
- `429`: The API key exceeded its allowed concurrency or request rate. Retry after in-flight work completes or the limit resets.
- `500`: An unexpected server error occurred.

---

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