---
title: "List duplicate documents"
method: GET
path: "/v1beta/documents/{document_id}/duplicates"
tags: ["Documents"]
---

# List duplicate documents

`GET /v1beta/documents/{document_id}/duplicates`

Finds documents that are visual duplicates of the specified document using perceptual hashing.

## Path parameters

- `document_id` string, required — Document ID to check for duplicates.

## Query parameters

- `file_contents_hash` string — SHA256 hash of the document's visual content for duplicate matching.

## Response `200`

Success

- ListDocumentDuplicatesResponse — ListDocumentDuplicatesResponse contains the duplicate documents.
  - `items` DuplicateDocument[] — Duplicate documents found. Empty if none found or accessible.
    - `document_id` string — Document ID of the duplicate.
    - `last_viewed_at` string, date-time — When the caller last viewed this document.
    - `title` string — Document title.
    - `version_id` string — Version ID of the duplicate.
    - `version_title` string — Version title.

## Other responses

- `400` — Invalid request parameters
- `401` — Authentication failed - missing or invalid API key
- `403` — Authorization failed - valid key but insufficient permissions
- `404` — Resource not found
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.net/factify-inc/apis/factify-api.md) · [All operations](https://skmtc.net/factify-inc/apis/factify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/factify-inc/factify-api/revisions/8baabdfb82bf/schema)
