Relevant Versions: This information pertains to Artifactory versions 3.5 and above.
To find the largest files in Artifactory, use the Artifactory Query Language (AQL). The following example demonstrates an AQL REST-API query that will return the top 10 largest files:
curl -X POST -uadmin:password -H "Content-Type: text/plain" http://localhost:<port_number>/artifactory/api/search/aql -d 'items.find({"type":"file"}).sort({"$desc":["size"]}).limit(10)'
The number of files produced from a query can be changed by changing the values for limit(x).