Skip to content
View raw ↗

Configuration ​

Configuration describes the site's business content and behavior. Read the editable view before writing it.

HTTPMCPPurpose
GET /sites/{siteId}/configget_site_configRead editable configuration
GET /sites/{siteId}/config/describedescribe_site_configDiscover supported fields and constraints
PATCH /sites/{siteId}/configedit_site_configEdit allowed leaf fields by dotted path
PUT /sites/{siteId}/configupdate_site_configImport sections or update dotted paths
POST /sites/{siteId}/config/generategenerate_site_configGenerate configuration suggestions

Update selected fields ​

Use PATCH /sites/{siteId}/config (MCP edit_site_config) with an edits map:

json
{
  "edits": {
    "content.brand.voice.prohibitedTerms": ["guaranteed results"]
  }
}

Only allowed leaf paths may be edited. Scalars and arrays replace their current values; send the complete array. null deletes a leaf. Object values and deletion of parent settings are rejected. A request may contain at most 100 paths. Use describe_site_config to discover editable paths rather than guessing them.

Import whole sections ​

Use PUT /sites/{siteId}/config (MCP update_site_config) with a nested config document to import supplied sections. Each supplied section replaces its entire stored slot; read and preserve any existing values you want to keep. Do not mix a section import and dotted paths in one request.

The result includes siteId, applied, and the resulting editable config. Configuration persistence and propagation to the website are separate events; inspect activity before reporting that a visible change has shipped.

PUT also accepts dotted paths inside config; prefer PATCH with edits for focused changes. get_site_settings returns raw stored slots; use get_site_config for the configuration shape consumed by update operations.