> This page is for Changelog.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.makeswift.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.makeswift.com/_mcp/server.

## List pages with their element trees from the REST API

The List Pages endpoint now accepts `include=elements`, returning each page's element tree alongside the page records.

```bash
GET /v6/pages?siteId={siteId}&include=elements
```

* **Opt-in**: omit `include` and every page's `elements` is `null`. `include` accepts only `elements` (any other value returns a `400`).

> **Note**
>
> `include=elements` is in beta and may change. Requests that pass it return `403` until the feature is enabled for your site or workspace. To opt in, contact support: [support@makeswift.com](mailto:support@makeswift.com).

For details, see the [`include` parameter](/developer/api-reference/rest/pages/list-pages#request.query.include) on List Pages.