---
title: "List Tags"
method: GET
path: "/getAllTags"
---

# List Tags

`GET /getAllTags`

Retrieves unique tags from the database. For photographer role, always filters by that photographer's images.
If trash=true, only returns tags from images in trash (deleted_at IS NOT NULL).
Accepts projectIds[] for multi-project aggregation.

## Query parameters

- `projectId` integer, nullable
- `projectIds[]` integer[]
- `photographerId` string, nullable
- `folderName` string, nullable
- `folderCategory` string, nullable
- `recipientId` string, nullable
- `category` string, nullable
- `personId` string, nullable
- `trash` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pavoot/apis/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/16997cca6697/schema)
