Confluence Cloud capability
Find Confluence Cloud pages in a space
Search with Confluence Query Language when a script needs structured results. Use Confluence’s search filters when you want to find a page by hand.
Documentation reviewed
Ways to do it
API
GET /wiki/rest/api/search
Use CQL to narrow results by space and content type. Follow _links.next when additional results are available.
- Requirements
- A Confluence Cloud site, a CQL expression, and permission to view returned content. The classic OAuth scope is search:confluence.
- Limitations
- The content search endpoint does not accept user-specific CQL fields. Expanding body.export_view or body.styled_view caps the query limit at 25.
Example
GET /wiki/rest/api/search?cql=type%3Dpage%20AND%20space%3DDEMO&limit=15Interface
Confluence search filters
Open Advanced search from the Confluence search bar. Use Spaces to select the space, then set Type to Pages.
- Requirements
- Access to the Confluence site and the pages you want to find.
- Limitations
- The filter inside the recent-items dropdown only narrows what is already shown. Open the full search results to search beyond recent items.