Generate experiences with Puck AI
Read docs
CloudAPI referencecloud-clientServer APIspages.getPublished

pages.getPublished

Puck Pages is experimental and may change in a future release.

Get the published version of the page at a path.

await puck.pages.getPublished("/about");
// { id: "page_123", path: "/about", data: { root: { props: {} }, content: [] }, version: 2, publishedVersion: 2, status: "published", createdAt: "2026-10-30T12:00:00.000Z", createdBy: "user_123" }

Returns the published version of the Page at this path, or null if the page doesn’t exist or isn’t published.

Args

ParamExampleTypeStatus
path"/about"StringRequired
options{ auth: {} }Object-

path

The page’s path.

options

Set the request options for this call.