Pages

get_page

Return one page from the selected draft-or-published version of a Sentway site by path, including its stored source. Sentway prefers the newest open draft, otherwise the current published version. source_kind is raw when pre-transform source exists and output only as a defensive transformed-output fallback. Does not return page, version, account, or storage IDs. Read-only.

Behaviour

Effect
Read only. Calling it never changes anything in the account.
Repeat calls
Idempotent. Repeating the same call produces the same result.
Plan
Available on every plan, including free.

Parameters

NameTypeRequiredDescription
site_iduuidYesThe Sentway site's uuid. Get one from list_sites.
pathstringYesThe page's URL path within the site, e.g. '/pricing'. Leading slash required. Paths are the only page identifier v2 accepts; internal page identifiers are never used on the wire.

Returns

NameTypeDescription
pageobject
version_sourceenum
draft | published
source_kindenum
raw | output
sourcestring
content_revisionstring

Using it

get_page is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 38 Sentway tools. See connecting over MCP.