---
title: "Count Trash Images Endpoint"
method: GET
path: "/countTrashImages"
---

# Count Trash Images Endpoint

`GET /countTrashImages`

Count deleted images (trash) for a project or multiple projects. For photographer role, returns only that photographer's count (backend enforces).

## Query parameters

- `projectId` integer
- `projectIds[]` integer[]
- `photographerId` 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/3966713f5d52/schema)
