Actions17
Page → Get Many
AI-generatedSummary
Fetch pages with optional filtering, pagination and ordering
Inputs
- returnAll — Whether to return all results or only up to a given limit
- limit — Max number of results to return
- options — Add option
- after — Limit response to pages published after a given ISO8601 compliant date
- author — Limit result set to pages assigned to specific authors. Choose from the list, or specify IDs using an expression.
- before — Limit response to pages published before a given ISO8601 compliant date
- context — Scope under which the request is made; determines fields present in response
- menuOrder — Limit result set to items with a specific menu order value
- order — Order sort attribute ascending or descending
- orderBy — Sort collection by object attribute
- page — Current page of the collection
- parent — Limit result set to items with a particular parent page ID
- search — Limit results to those matching a string
- status — The status of the page
Output shape
an array of page objects
When returnAll is false, results are limited by the limit parameter; filtering uses the Options sub‑parameters; optional fields such as after, before, author, etc. do not change the returned structure.
Examples
Example 1: Retrieve the first five published pages ordered by ID descending
returnAll = false, limit = 5, order = desc, orderBy = id
Example 2: Get pages published after a specific date and limit to ten results
returnAll = false, limit = 10, after = 2023-01-01
Example 3: Fetch all pages matching the search term 'contact'
returnAll = true, search = "contact"