> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreep.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# List Tags

> List the project's tags with image counts using dreep.listTags().

```ts theme={null}
const tags = await dreep.listTags();
// [{ name: "sneaker", imageCount: 12 }, { name: "red", imageCount: 9 }, …]

// Autocomplete
const matches = await dreep.listTags({ search: "sne" });
```

Most used first. To list the images behind a tag, pass it to
[`listMedia()`](https://docs.dreep.cloud/node-sdk/media/list-media#filtering-by-tag).

## Parameters

| Parameter | Type | Description |
| :- | :- | :- |
| `search` | `string` | Only tags starting with this text |
| `limit` | `number` | Up to 200. Defaults to `50` |
| `signal` | `AbortSignal` | Cancels the request |

## Returns

`{ name: string; imageCount: number }[]`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.