Hi @Ricky99999
There is an ACS common tool to fetch page report which gives page details under specific path, have a look at https://adobe-consulting-services.github.io/acs-aem-commons/features/report-builder/index.html
Hope this helps!!
Thanks,
Gaurav Sachdeva