Guides

Find Duplicates

Retrieve duplicates of an asset original file by checking for the Asset file's MD5 checksum.

📘

This API will identify duplicates even if the original file name of assets are different.

RESPONSE JSON

Example response

{
  "id": "99d819953914402babbdeb68337ea6a3",
  "name": "example.jpg",
  "size": 8836363,
  "content_type": "image/jpeg",
  "checksum": "5f5f26bd7c0f62c6e02e44c73d09734e",
  "total_files": 2,
  "total_pages": 1,
  "page": 1,
  "duplicates": [
    "425f6a2a266d45d58d067f7c39a2e4bd",
    "a563da2a266d45d58d067b8c39a3d5ad"
  ]
}
KeyValueDescription
idstringFile's unique ID, 32 character alphanumeric UUID
namestringFile name
sizeintegerSize of file in bytes
checksumstringMD5 checksum
content_typestringMIME type
duplicatesJSONList of file ids whose MD5 checksum is the same as the asset id. Defaults to 30 duplicates per page. The actual count returned may vary depending on asset activity at the time the API is called.
total_filesintegerNumber of duplicate files found
total_pagesintegerNumber of pages in result.
pageintegerCurrent page of the result. Defaults to 1.
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!