Websites

Go back to an earlier version

website_rollback · Changes data · Markdown

Publishes one of the kept versions again; the draft stays as it is.

$0.01 a call

From your agent’s balance. A call that fails costs nothing.

An example

Yesterday's change broke the home page. Go back to the version before it.

Your agent callswebsite_rollback$0.01 a call

The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.

With these arguments
{
  "site": "halverson-cycle",
  "version": 1
}
What comes back
{
  "site": {
    "name": "halverson-cycle",
    "title": "Halverson Cycle & Repair",
    "description": "Bikes, repairs and fittings from our workshop in Portland.",
    "language": "en",
    "address": "https://cncto.co/w/halverson-cycle/",
    "published": true,
    "live_version": 3,
    "rent": {
      "rental_id": 4101,
      "kind": "website",
      "label": "Website: cncto.co/w/halverson-cycle",
      "status": "active",
      "monthly_usd": "$5.00",
      "renews_at": "2026-11-14T08:00:00+00:00",
      "grace_until": null
    },
    "settings": {},
    "updated_at": "2026-10-14T08:00:00+00:00"
  },
  "version": 3,
  "copied_from": 1
}

Use it when

A publish went wrong and the site should look as it did before.

What it does

Publish one of the kept versions again (website_get lists them). The draft stays as it is.

What comes back

The site, the new version number, and copied_from: the version published again. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
siteRequiredstringThe site's name, as in cncto.co/w/<name>. 3 to 60 characters.
versionRequiredintegerAt least 1.

The call

Over MCP, call website_rollback on https://api.conecto.chat/mcp/websites. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/website_rollback \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"site":"halverson-cycle","version":1}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
not_found404No website of the business has that name.Call website_list and use one of its names.
not_found404No kept version has that number.Call website_get to see the versions.
not_published409The site is not published.Publish it with website_publish first.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md