# API changelog

## 2026-11-05: Client review

- New subscribable `CLIENT_REVIEW` webhook event for draft comments and decisions. Links open the app draft; review tokens are never included.
- Draft reads (REST `GET …/drafts`, `GET …/drafts/{draftId}`, MCP `list_drafts`) include a read-only `clientReview` summary: version, status, who decided and when, and whether the text changed since. It is `null` when a draft was never sent for review.

## 2026-11-02: Page refresh

- New webhook event `PUBLISH_REFRESH`: the accepted changes to one of your existing pages (`ops` keyed by block, with the hash each change expects) and the merged page, sent only to a webhook you marked as handling refreshes. It is never sent as `PUBLISH_DRAFT`. See [Publishing](/en/developers/publishing).
- New endpoint `POST /drafts/refresh?confirm_cost=true` starts a refresh of one page of your site; draft reads include `refresh` (blocks, changes, level). Accepting changes and publishing are done in the app.

## 2026-10-31: Daily series and pitch projects

- Added a daily single-market series grouped by engine, topic or question type, with rates and intervals. Project reads include nullable pitch expiry.

## 2026-10-30: Weekly drafts review

- `GET /drafts` takes `status` (for example `PROPOSED`, a weekly draft waiting for review) and `origin` (`WEEKLY` or `MANUAL`).
- New endpoints `GET /drafts/week` (this week's batch and whether write-now is open), `POST /drafts/{draftId}/approve`, `POST /drafts/{draftId}/decline` (body `{"reason": "...", "note": "..."}`) and `POST /drafts/write-now?confirm_cost=true` (writes this week's drafts, billed like the weekly run; without `confirm_cost=true` it returns 400 with reason `COST_CONFIRMATION_REQUIRED`). All `POST`s need a full-access key and accept `Idempotency-Key`.
- `DELETE /drafts/{draftId}` (app API) also removes weekly drafts waiting for review, declined or expired; `PATCH` on a declined or expired draft returns 409 `DRAFT_CLOSED`. A decline with `existingPageUrl` reports a page that could not be watched in `outcome.reasons` (`WATCH_FAILED`).

## 2026-10-30: Publishing drafts

- New webhook event `PUBLISH_DRAFT`: a draft page (title, slug, meta description, Markdown, HTML, market, questions) sent to the webhook picked when publishing, with a `callbackUrl` for the live URL. See [Publishing](/en/developers/publishing).
- New endpoints `GET /drafts`, `GET /drafts/{draftId}` and `POST /drafts/{draftId}/published` (full-access key). Reporting the URL adds the page to the Page Tracker, ships the fix and starts an experiment.
- Errors may carry a `field` property naming the request field that failed validation.
- The webhook `events` enum in the OpenAPI spec now lists only the events a webhook can subscribe to (not `TEST`, `WATCH` or `PUBLISH_DRAFT`, which go to channels picked elsewhere).

## 2026-10-29: Search Console quick wins

- New fix type `QUICK_WIN`: a page on Google's second page for a query that asks a tracked question. Filter with `GET /fixes?type=QUICK_WIN`.
- `GET /fixes/{fixId}` returns `quickWin` for these fixes: the query, question, page, Google country, the figures when first found (`then`) and for the latest 28 days (`now`), and `thin` / `nowThin` when there are too few impressions for a steady average position. It is `null` for other fixes.

## 2026-10-28: REST API v1

- First public release of `/rest/v1`: projects, markets, questions, answers, visibility with 95% intervals, brand ranking, heatmap, competitors, citations, AI searches, topics, sentiment, timeline, AI referrals, fixes, experiments, tracked pages, watches, runs and webhooks.
- API keys can be read only or full access, and limited to one project. The same rules apply on MCP.
- Rate limits per plan, shared with MCP, with `X-RateLimit-*` headers.
- `Idempotency-Key` on every `POST`.
- New webhook events: `RUN_COMPLETED` and `RUN_FAILED`.
