List retained versions
list_versionsReturns every retained version of a slug owned by the token, newest first. Inputs: slug and token. Each entry includes version, created_at, file_count, bytes, kind (publish, merge, or restore), restored_from, and a public permalink. A retained version's URL stays stable while that version is kept and the site is available. Free keeps the last 5 versions, Hobby 50, and Pro has no cap, including the live version, applied when a new version is saved. Pruning, deleting that version, or deleting the site removes it. A cache can briefly still serve a removed URL, and publishing the same slug again can reuse the v1 URL. It is not a permanent archive.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug you own. | |
| token | No | Bearer token returned by your first publish (deed_tok_...). Optional if the MCP client sends Authorization: Bearer. |