---
title: "Returns a list of DAM File Duplicates for the client"
method: GET
path: "/dam/files/duplicates"
tags: ["DAM: File Duplicates"]
---

# Returns a list of DAM File Duplicates for the client

`GET /dam/files/duplicates`

## Request

- Base URL: `https://api.kontainer.com/jsonapi/v2`
- URL: `https://api.kontainer.com/jsonapi/v2/dam/files/duplicates`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kontainer/apis/kontainer-api-documentation/docs/dam/files/duplicates/get.ts> (a function with typed inputs; its response is checked against the schema)

## Retrieve DAM File Duplicates
Endpoint for retrieving a collection of File Duplicates for a client. Note that only Client Admins can use this endpoint

## Query parameters

- `page[size]` integer
- `page[number]` integer
- `relationships` string
- `includes` string

## Response `200`

success

- Files
  - `data` File[]
    - `type` 'file', required
    - `id` string, required
    - `attributes` FileAttributes, required
      - `name` string
      - `description` string, nullable
      - `size` integer: File size in bytes
      - `sort` integer
      - `created_at` string, date-time
      - `updated_at` string, date-time, nullable
      - `extension` string
      - `width` integer, nullable: Width of the stored pixels, before EXIF orientation is applied
      - `height` integer, nullable: Height of the stored pixels, before EXIF orientation is applied
      - `orientation` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8: EXIF orientation code (1-8). 1 when the file has no orientation tag. Codes 5-8 display with width and height swapped
      - `rotation` 0 | 90 | 180 | 270: Clockwise degrees the EXIF orientation turns the stored pixels to display them. 90 and 270 swap width and height
      - `version` integer
      - `is_archived` boolean
      - `hasDuplicates` boolean
      - `consent_status` string
      - `consent_rights` string[]
      - `consent_party_ids` integer[]
      - `consent_expire_at` string, date-time, nullable

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/kontainer/apis/kontainer-api-documentation.md) - [All operations](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kontainer/apis/kontainer-api-documentation/revisions/b80a5167e09a?raw)
