1. Search with CQL
Advanced search, or the REST search endpoint with the CQL space = KEY AND type = page, returns a total. It counts only pages you are allowed to see, so a restricted section of the space is missing from the number. Good for a quick answer about your own view.
2. The space report (admins)
Atlassian has added a space report for Confluence Cloud site admins that gives content and attachment counts per space. It is the best source for a site-wide overview, but it needs admin access and gives totals rather than a list of pages.
3. Space analytics (Premium and Enterprise)
On Premium and Enterprise, the space's Analytics view lists pages with their views. Community answers report that it does not always show a single total, so you may have to count rows or export.
4. An inventory export
When you need the number and the list, for a cleanup or a migration estimate, export the page tree. Space Inventory for Confluence crawls a space and writes a workbook with every page you can see: path, depth, parent, author, dates, version, child count and labels. A Summary sheet gives the page count, archived count, root pages, maximum depth and last activity for each space.
Why the numbers disagree
- Permissions. Search and any app that runs as you see only what you can view. An admin report sees everything.
- Archived pages. Some counts include archived pages, others do not.
- Blog posts and other content. Content counts often include blog posts, whiteboards and databases, not just pages.
- Drafts and trash. Unpublished drafts and trashed pages are counted by some methods and not others.
For a migration quote, say which count you are using.
The count and the list, in one workbook
Covers one space and up to 200 pages without a licence. Paid is US$10/month for up to 10 users, billed by Atlassian.
See Space Inventory for Confluence Install from Atlassian MarketplaceI'm the developer of Space Inventory for Confluence, so weigh this guide accordingly. Atlassian and Confluence are trademarks of Atlassian. This app is independent and is not affiliated with or endorsed by Atlassian.