Duplicate an existing published site inside the caller's account. Copies the source site's gate configuration and seeds the destination draft from the source's current published version. The destination is created with a fresh Sentway-generated slug (no relation to the source slug) and is left unpublished with an open seeded draft. Requires editor role. Errors: E_NO_PUBLISHED_VERSION if the source has never been published; E_SITE_LIMIT on the free plan.
| Name | Type | Required | Description |
|---|---|---|---|
| request_id | string | Yes | — |
| source_site_id | uuid | Yes | — |
| name | string | Yes | — |
| Name | Type | Description |
|---|---|---|
| site | object | — |
| draft | object | — |
| gate | object | — |
| idempotency_replay | false | — |
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 38 Sentway tools. See connecting over MCP.