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.
| Name | Type | Required | Description |
|---|---|---|---|
| request_id | string | Yes | — |
| site_id | uuid | Yes | — |
| Name | Type | Description |
|---|---|---|
| site_id | uuid | — |
| status | enum draft | published | — |
| changed | boolean | — |
| idempotency_replay | false | — |
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.