Filter files based on where they are used

Hi Everyone,

Hope you are well.

I am looking for a way to filter files based on their usage.

It seems that used_in only search for ‘used_id:product’ or ‘used_in:none’ where the latter basically gives me everything (https://shopify.dev/docs/api/admin-graphql/2024-04/queries/files).

Also seems to be the functionality that is available under content → files.

Do you know if there is a away to only get files that are used somehow? Or at least fetch the references.

Looking forward to hear your feedback.

2 Likes