
# Changelog

Changes to the API and the MCP server, newest first. Additions don't break existing code: new fields can appear in answers at any time, so ignore the ones you don't know. Anything that would break code gets a new version and notice here first.

## November 2026 {#2026-11}

### Site-wide drafts

- Brand tokens, the logo, favicon, theme options, design css, fonts, nav, menu and footer now save as a site-wide draft, like page edits. `PATCH /sites/{siteId}/settings`, `PATCH /sites/{siteId}` and `PATCH /sites/{siteId}/design/tokens` write the draft; the live site changes when you call `POST /sites/{siteId}/publish` (its answer gains `settings`, the parts that went live) or publish any page (its answer gains `sitePublished`). Contact details, SEO, locations, articles and the name and addresses still apply at once.
- `GET /sites/{siteId}/settings` and `GET /sites/{siteId}/design` show the draft applied, with `draft` naming what is waiting; `GET /sites/{siteId}` returns the live settings.
- New: `POST /sites/{siteId}/settings/discard`, `GET /sites/{siteId}/settings/revisions` and `POST /sites/{siteId}/settings/revisions/{revisionId}/restore` to throw a draft away or undo a publish.

### Analytics

- **Visitors and sessions** are now measured, without cookies: `visitors` (daily visitors, summed), `sessions`, `bounceRate`, `avgSessionSeconds` and `viewsPerSession` in `traffic` and `summary`, with per-bucket `visitors` and `sessions` in the series. `pages` adds `entries` and `bounceRate` and sorts by `entries`; `sources` adds `visitors`, `sessions` and the `leads` each source brought; `summary` adds `topEntryPages`. `returningVisitors` reports distinct people for visitors who accepted the optional Returning visitors cookie. `site_report` shows the new numbers. See [Analytics](https://developers.unvop.com/guides/analytics.md#visitors-and-sessions).
- **Twelve Analytics endpoints** under `/sites/{siteId}/analytics/`: summary, traffic, pages, sources, devices, countries, conversions, leads, revenue, search, workflows and health. Each takes a period in the site's time zone and compares it with the period before or a year earlier. See [Analytics](https://developers.unvop.com/guides/analytics.md).
- **A new scope**, `analytics:read`, in the default set an AI assistant asks for.
- **`site_report`**, a direct MCP tool for "how is my site doing?".
- **Plan features** on operations: `x-unvop-feature` in the OpenAPI document, and `403 feature_not_in_plan` when the site's plan lacks it.

### API v1 and the MCP server

- **The v1 API.** 109 operations over builds, sites, pages and blocks, design, collections and their sources, media, forms and submissions, contacts, payments, workflows and runs, tools, connections, settings, plugins and keys. One error shape, cursor pagination, idempotency keys, ETags on pages, and rate limit headers on every answer.
- **The OpenAPI 3.1 document** at `https://api.unvop.com/v1/openapi.json`, built from the same definitions that serve the routes.
- **The MCP server** at `https://platform.unvop.com/mcp`, with OAuth 2.1 and Code Mode: `search` and `execute`, plus `whoami`, `create_site_from_prompt` and `get_build_status`.
- **New scopes** for the new areas: `contacts:write`, `media:write`, `design:write`, `payments:read`, `workflows:read`, `workflows:write`, `tools:read`, `tools:write`, `connections:read`, `connections:write`, `settings:write` and `keys:write`. Keys made earlier keep exactly the scopes they had, and `content:write` still allows uploads.
- **Account keys**, which act as your account on your sites and can start builds.
