Site lifecycle

restore_site

Restore an archived site. Resolves to status 'published' if the site had a current published version at archive time, otherwise 'draft'. Naturally idempotent: restoring a non-archived site returns changed:false. Requires editor role.

Behaviour

Effect
Write. It creates or updates data in the account.
Repeat calls
Idempotent. Repeating the same call produces the same result.
Plan
Available on every plan, including free.

Parameters

NameTypeRequiredDescription
request_idstringYes
site_iduuidYes

Returns

NameTypeDescription
site_iduuid
statusenum
draft | published
changedboolean
idempotency_replayfalse

Using it

restore_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 38 Sentway tools. See connecting over MCP.