Export a site
artifact_site_exportDownload or back up a remote artifact's original files, including binary assets. Get a manifest, versionId, and authenticated ZIP URL, then retrieve all files by path with version_id.
Instructions
Download or back up a remote artifact's original files, including binary assets. Without path, returns a manifest, versionId and authenticated ZIP download URL. To retrieve everything using MCP alone, call again for each manifest path with version_id and offset; decode base64 and repeat nextOffset until done. No CLI is required. Use version_id to read an authorized historical snapshot; pin all chunks to the manifest version. Read the latest version separately before editing. Requires original-content access, which may be stricter than text read access. Never put the Bearer token in a URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative file path from the export manifest; omit to get the manifest. | |
| slug | Yes | Artifact identifier returned by find/publish, or the slug in its /s/ URL. Not a local path. | |
| length | No | Bytes per download chunk, at most 262144. | |
| offset | No | Byte offset for file download, initially 0. | |
| tenant_id | No | Destination tenant for creation; defaults to the account tenant. | |
| version_id | No | Required with path; pins an authorized immutable snapshot, also accepted without path. | |
| share_token | No | Token from a user-provided share URL; carries only that share permission. |