> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get page metadata

> Retrieves metadata and publishing state for one page.

`webflow.getPageMetadata` retrieves metadata and publishing state for one page.

## Example

```ts automations/webflow-get-page-metadata.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { webflow } from "automate.ax/webflow"

export default automation("Get page metadata", () => {
  onDashboardRun({ title: "Get page metadata" })

  webflow.getPageMetadata({
    pageId: "page-id",
  })
})
```

## Inputs

Every input accepts a compatible signal. It requires the `pages:read` OAuth scope.

| Field      | Type     | Required | Description              |
| ---------- | -------- | -------- | ------------------------ |
| `localeId` | `string` | No       | Optional site locale ID. |
| `pageId`   | `string` | Yes      | Webflow page ID.         |

## Output

Returns an object with the fields below. Automate.ax converts provider `Date` values to ISO 8601 strings.

| Field           | Type                    | Description                    |
| --------------- | ----------------------- | ------------------------------ |
| `id`            | `string`                | Webflow `id` value.            |
| `siteId`        | `string`                | Webflow site ID.               |
| `title`         | `string`                | Webflow `title` value.         |
| `slug`          | `string`                | Webflow `slug` value.          |
| `parentId`      | `string`                | Webflow `parentId` value.      |
| `collectionId`  | `string`                | Webflow CMS collection ID.     |
| `createdOn`     | `string`                | Webflow `createdOn` value.     |
| `lastUpdated`   | `string`                | Webflow `lastUpdated` value.   |
| `archived`      | `boolean`               | Webflow `archived` value.      |
| `draft`         | `boolean`               | Webflow `draft` value.         |
| `canBranch`     | `boolean`               | Webflow `canBranch` value.     |
| `isBranch`      | `boolean`               | Webflow `isBranch` value.      |
| `branchId`      | `string`                | Optional Webflow branch ID.    |
| `seo`           | `Webflow.PageSeo`       | Webflow `seo` value.           |
| `openGraph`     | `Webflow.PageOpenGraph` | Webflow `openGraph` value.     |
| `localeId`      | `string`                | Optional site locale ID.       |
| `publishedPath` | `string`                | Webflow `publishedPath` value. |
