Skip to main content

Get pages

The Confluence Get pages action retrieves a paginated list of pages in a space, with optional filters for author, labels, status, title, and type. Use this read-only action to discover existing content and identify the right page for follow-up actions such as updating, reviewing, or exploring page hierarchies.

The action returns only pages the connected account can access, respecting Confluence permissions.

Limitations

  • Pagination is required for large result sets.

Prerequisites

  • Glean action must be enabled for your instance and the Confluence action pack must be available.

  • A connected Confluence account must exist for the user with permission to view pages in the target space.

Supported parameters

ParameterTypeDescription
Body formatStringFormat of the content body to return, for example, view, export_view, or storage.
CursorStringOpaque cursor token used for pagination to fetch the next page of results.
Page limitIntegerMaximum number of results to return per page. Defaults to 25.
Sort byStringField and direction to sort results by (for example, created_desc or modified_asc).
Space IDIntegerNumeric identifier of the space to filter results to.
StatusStringStatus to filter results by (for example, current, draft, or archived).
SubtypeStringMore specific content subtype to filter by (for example, a page template or specialized content).
TitleStringTitle or title filter used to match content items (typically a full or partial title string).

Usage example

You want to find all current API documentation pages in the Engineering space that were updated recently to prepare for a review meeting.

Instruction to an agent:

"Find all pages in the Engineering space with the label api-docs that have status current. Sort them by most recently modified and show me the top 10 results."

Resulting behavior:

  • Calls the Get pages action with:

    • Space ID set to the Engineering space ID.

    • Status filter set to current to exclude drafts and archived pages.

    • Sort by set to modified_desc to show most recently updated pages first.

    • Page limit set to 10 to return the top 10 results.

    • Returns a list of matching pages with their titles, IDs, and metadata that can be used in follow-up actions.

Workflow tip: Use the returned page IDs with other actions like Get child pages to explore page hierarchies or Update page to modify content.

Troubleshooting

FAQs