© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3mo ago•
4 replies
Benj

/duplicates API

❓Question☑️Ready
Hey all,

I'm writing a small script for doing some custom deduping (the built in functionality is pretty great but after years of having my camera spit out 2 versions of every photo + phone sync + other backups I have a pretty complicated deduping routine I want to follow) and I'm able to retrieve the duplicates for each set and apply my logic easily enough but it's not clear to me how the DELETE /duplicates API should work. If I send the UUIDs of all the assets I want to delete it succeeds but doesn't seem to lower the amount of duplicates shown in the UX.

Also, assuming the UUID of the specific duplicate asset is the same one used in the /asset/ APIs; am I better off just calling DELETE /asset/ is there any difference between these 2 APIs?

Thanks!
Ben
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Duplicates
ImmichIImmich / help-desk-support
5mo ago
Duplicates
ImmichIImmich / help-desk-support
7mo ago
Purposefully-kept duplicates don't clear from Duplicates
ImmichIImmich / help-desk-support
13mo ago
Stack all duplicates
ImmichIImmich / help-desk-support
9mo ago