---
title: "Get Org Potential Duplicates Endpoint"
method: GET
path: "/getOrgPotentialDuplicates"
---

# Get Org Potential Duplicates Endpoint

`GET /getOrgPotentialDuplicates`

Org-wide name-duplicate suggestions. Mirrors /getPotentialDuplicates but scoped by
organization (all org persons). Crop URLs use each person's origin project_id.

When countOnly is set, the (still-required) name-similarity pass runs but per-person
S3 presigned crop URLs are skipped and only `{success, count}` is returned — cheap enough
for a background badge fetch on the faces page.

## Query parameters

- `projectIds[]` integer[]
- `countOnly` boolean — Return only the group count (skips S3 crop URLs) — used for the /faces badge.

## 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)
