Skip to content
View raw ↗

Tasks and change review ​

A task describes work to be done. A change records a reviewable revision. One task can lead to more than one change or review cycle.

Create and follow a task ​

POST /sites/{siteId}/tasks · MCP: create_task

Supply title and idempotencyKey; add description for acceptance criteria. Titles are limited to 300 characters and descriptions to 10,000. attachmentFileIds accepts up to 25 existing customer uploads or link snapshots belonging to the site.

json
{
  "title": "Add an emergency service section",
  "description": "Add a section to the home page with our existing phone number and a link to the contact page.",
  "idempotencyKey": "acme-emergency-section-001"
}

Save the returned task.id. deduplicated: true means this retry found an existing task. If initialNotification is present, its channel and destination describe where updates will be sent.

Read GET /sites/{siteId}/tasks/{id} or call get_task. Use the cancel operation to cancel supported work; changing a status is not a substitute for cancellation.

Review the current change ​

List GET /sites/{siteId}/changes or call list_site_changes. Inspect the current revision and its preview before deciding. GET /sites/{siteId}/owner-blocked or MCP list_needs_you gathers decisions waiting for your input and in-flight work. Require complete: true before treating an empty queue as authoritative.

POST /sites/{siteId}/changes/{changeId}/decisions · MCP: decide_change

json
{
  "outcome": "changes_requested",
  "body": "Please use the existing emergency phone number.",
  "idempotencyKey": "review-emergency-001"
}

Use approved to approve or changes_requested to request a revision. For approval, the server attempts a merge guarded against the revision changing concurrently.

Inspect the result's applied, status, headSha, and reviewCycle. applied: false can include revision-advanced, not-mergeable, or already-applied. Re-read the change before making a new decision; do not blindly approve a newer revision under an old decision key.

A recorded approval is not a completed deployment. Follow site activity to confirm the release reached the site.

Ideas ​

ActionHTTPMCP
ListGET /sites/{siteId}/ideaslist_ideas
ReadGET /sites/{siteId}/ideas/{id}get_idea
Promote to taskPOST /sites/{siteId}/ideas/{ideaId}/promotepromote_idea
DismissPOST /sites/{siteId}/ideas/{ideaId}/dismissdismiss_idea

Promotion and dismissal return HTTP 202 with status and sourceUrl. They acknowledge a source-issue update; the resulting task or dismissed idea materializes asynchronously. Re-read the idea and task list afterward. A promotion acknowledgment is not a task receipt and does not contain a task ID.

Notifications ​

Use GET /sites/{siteId}/tasks/{taskId}/notifications / get_task_notifications to read delivery routes. PATCH on that path / set_task_notifications changes one contact's email or SMS route with contactId, channel, and a boolean enabled. The destination comes from the contact record, never an arbitrary input address. The write requires a user-backed credential. See contacts and integrations.