@vijitha : thanks for providing further details.
I do not think you can get the list of all such pages using querybuilder debugger alone.
You will have to use query + additional filtering on the results using java/groovy etc. You will be able to do this on local instance and will have to get content packages from your working instance.
Create a servlet so that you have a trigger point/url to run this.
- Run a query to find all the nodes of resource type wcm/foundation/..../responsivegrid
Ensure to run your query under a specific path to ensure query performance. - From the result set, iterate through the results page, whatever pages do not have any children under this node, you can consider them to be empty pages.
- Resolve the path of Page from the node
- In the end you should get the list of all such pages.
You can refer this for Querybuilder Java API - https://medium.com/@manumathew28.94/query-builder-aem-5869a1850c85
thanks.