I'm trying to find a way to identify "not recently used" build directories under bamboo-agent-home/xml-data/build-dir, so I can regularly delete those that have not been used in over a week to save disk space.
I know there's no functionality in the Bamboo UI to help with this, but is there a way I can get this information via the REST API?