How can I find the largest files in Artifactory?

For Artifactory 3.5.0 and above, finding the biggest files in Artifactory can easily be done by using Artifactory Query Language (AQL)

The following example demonstrates an AQL REST-API query that returns the 10 largest files in Artifactory:

curl -X POST -uadmin:password http://localhost:8081/artifactory/api/search/aql -d 'items.find({"type":"file"}).sort({"$desc":["size"]}).limit(10)'

The number of files to return can be modified using the value specified in the 'limit( )' directive.