---
title: "How to get page information for all pages"
canonical: "https://support.appfire.com/space/SUPPORT/89136228/How%20to%20get%20page%20information%20for%20all%20pages"
format: markdown
---
# Description

This shows how to get page information for all pages on the site (smaller sites) or all pages in a space to display on a Confluence page. For instance, this will subset to show the last page modifier and date.

# Steps

This is similar to [How to get all space permissions](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89136154), except with a different action. Follow the same steps except use the following markup or similar:

##### **Get page list**

```
{cache:refresh=7d|showRefresh=true|showDate=true}
{csv:macros=true|columns=1,2,7,8|sortColumn=4|sortDescending=true}
{cli:profile=confluence|panel=false}
--action getPageList --space @all --outputFormat 3 --dateFormat yyyy.MM.dd --quiet 
{cli}
{csv}
{cache}
```

> ❌ **Be careful using with large sites or spaces**
> ❌ 
> ❌ Be careful when you use this on larger spaces or sites as the rendering time may be excessive. Avoid using **@all** and use specific space key instead.You should consider using [Run CLI Actions in Bamboo](https://appfire.atlassian.net/wiki/spaces/BCLIP) to produce an attachment with the data and publish it to Confluence.

## Example Output

This is a portion of the output generated from this Cloud site taken from another Confluence site (download version needed for add-ons).

![image](media://1b58f2bb-b8db-43fa-90aa-5f40774b16f1)