> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.makeswift.com/changelog/2026/9/18/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.makeswift.com/_mcp/server. ## Read a page's element tree from the REST API The Get Page endpoint now accepts `include=elements`, returning the page's full element tree alongside the page record. ```bash GET /v6/pages/{pageIdOrPathname}?include=elements ``` * **Opt-in** — omit `include` and `elements` is `null`. `include` accepts only `elements` (any other value returns a `400`). * **Respects existing resolution** — the returned tree honors the same `locale` and `versionRef` parameters as the endpoint. `?locale=` returns the localized tree; `?versionRef=ref:live` returns the published tree (default is `ref:draft`). * **Tree shape** — each node has a `type`, a `key` (a UUID unique within the tree), and `props`. Nested elements live inside `props`, at any depth. > **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/get-page#request.query.include) on Get Page. > Documentation for Makeswift — the composable visual page builder for marketing teams and developers