Site lifecycle

duplicate_site

Duplicate a published site: copies its gate configuration and seeds the new site's draft from the source's published version. The copy gets a fresh generated slug and stays unpublished with an open draft. Errors: E_NO_PUBLISHED_VERSION, E_SITE_LIMIT. Editor role.

Behaviour

Effect
Write. It creates or updates data in the account.
Repeat calls
Not idempotent. Repeating the call can produce a further change.
Plan
Available on every plan, including free.

Parameters

NameTypeRequired
request_idstringYes
source_site_iduuidYes
namestringYes

Returns

NameType
siteobject
draftobject
gateobject
idempotency_replayfalse

Using it

duplicate_site 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 56 Sentway tools. See connecting over MCP.