List a page's ancestors
One step with Confluence. We can help you get access.
Look something up
List a page's ancestors
with Confluence
Works with AI assistants
Use Confluence: its Confluence Cloud REST API v2 Ancestors API lets you list a page's ancestors in a single step (GET /pages/{id}/ancestors). Confluence also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- What are the parent pages of a page, all the way to the top?
- Can I build a breadcrumb trail for a page?
Say it to your AI assistant
- List the ancestors of page {id}.
- Give me up to {limit} parent levels above page {id}.
For your developer
GET /pages/{id}/ancestors in Confluence Cloud REST API v2 Ancestors API. Full spec on APIs.io.