Confluence Query Language (CQL) allow you to create customCQL Functionsthat perform advanced searches for content in Confluence. Create and share custom CQL functions with your users in order to empower their search.
Your search results will take the same form as the Content model returned by the Content REST API. Some examples are:
Search all pages that contain a specific label
Retrieve all pages linked to a specific page
Search all pages that makes use of the specified plugin