pages.get
Puck Pages is experimental and may change in a future release.
Get a page.
await puck.pages.get("page_123");
// { id: "page_123", path: "/about", data: { root: { props: {} }, content: [] }, version: 3, publishedVersion: 2, status: "draft", createdAt: "2026-10-30T12:00:00.000Z", createdBy: "user_123" }Returns the Page.
Args
| Param | Example | Type | Status |
|---|---|---|---|
id | "page_123" | String | Required |
version | 2 | Number | - |
options | { auth: {} } | Object | - |
id
The page’s id.
version
The version’s number. Defaults to the latest version.
const page = await puck.pages.get("page_123", 2);options
Set the request options for this call.