delivery_get_by_path
Check what a live URL shows by fetching the published page at a path. Returns public delivery data with SEO metadata, or null if not found.
Instructions
Read the page a visitor gets at a URL path — the way to check what a live URL shows. Returns the item as the public Delivery API serves it — published only (unless preview), private fields removed, plus computed urlPath, fieldTypes and SEO metadata on pages — or null when nothing matches. Use get_content to read a draft for editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The page's URL path without the locale prefix, e.g. '/blog/my-post'. | |
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. | |
| locale | No | Locale code. Omit for the document's own locale (its site-default variant, else its only variant). | |
| preview | No | true = read the latest drafts as the preview pane shows them (needs site-wide read access). Default false: published content only, exactly what visitors get. | |
| populate | No | How many levels of references and shared blocks to resolve inline, 0-4 (default 0: references stay as ids). |