List Pages
list_pages · Tools · Pages
Read the workspace's pages
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
show_hidden | boolean | No | true to list the pages not on the sidebar as well. Left out, only the sidebar's pages are listed. |
Reads the workspace's pages: what each is called, its route slug, what kind of page it is, and how many widgets a board holds. A space page lists its children.
The sidebar lists only the pages the person has added to it, and this lists those pages. Every other page still exists, and the person can open it at its address. With show_hidden: true the list holds those pages too, each marked hidden: true. The limit of 32 pages counts every page, those not on the sidebar included.
The board is one document shared by everyone in the workspace, and it carries a revision: 0 on a workspace whose sidebar was never saved. Every write states the revision it read, so start here or with get_page rather than writing blind.
A page whose view_type is pegboard holds widgets. Every other kind — tasks, calendar and the rest — is a whole surface with nothing to place on it.