---
title: "bird assets folders list"
description: "List workspace media-library folders"
canonical: "https://bird.com/docs/cli/reference/assets-folders-list"
---

# `bird assets folders list`

## Usage

```bash
bird assets folders list [flags]
```

## Description

Returns a cursor page of folders with parent\_id and resolved path. Ordering follows creation time, so a parent may arrive on a later page. Building the complete tree requires reading every page.

Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

## Examples

```bash
bird assets folders list
bird assets folders list | jq -r '.data[].id'
bird assets folders list --limit 50 --starting-after <cursor>
```

## Options

#### Pagination

| Name               | Description                                                                                                                                                                                                                                                                                                                                             |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--ending-before`  | Cursor from the prev\_cursor or refresh\_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order. prev\_cursor returns the preceding page. refresh\_cursor anchors at the first row of that response, which on a newest-first sort is how to fetch the items that have appeared since. |
| `--include-total`  | When true, the response includes a total field with the total number of items matching the request's filters across all pages.                                                                                                                                                                                                                          |
| `--limit <n>`      | Maximum number of items to return per page. Allowed range: 1 to 100.                                                                                                                                                                                                                                                                                    |
| `--order`          | Sort direction. Defaults to desc, which sorts from newest to oldest or largest to smallest, depending on the selected sort field. Possible values: asc, desc.                                                                                                                                                                                           |
| `--sort`           | Field to sort by. Defaults to created\_at. Possible values: created\_at.                                                                                                                                                                                                                                                                                |
| `--starting-after` | Cursor from the next\_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.                                                                                                                                                                                                          |

#### Filters

| Name                | Description                                      |
| ------------------- | ------------------------------------------------ |
| `--response-schema` | Print the fields this command returns, then exit |

## Related

| Name                                                                      | Description                              |
| ------------------------------------------------------------------------- | ---------------------------------------- |
| [`bird assets folders create`](/docs/cli/reference/assets-folders-create) | Create a folder in the media library     |
| [`bird assets folders delete`](/docs/cli/reference/assets-folders-delete) | Delete a folder and move its contents up |
| [`bird assets folders get`](/docs/cli/reference/assets-folders-get)       | Get a media-library folder by ID         |
| [`bird assets folders update`](/docs/cli/reference/assets-folders-update) | Rename or move a media-library folder    |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
