Appearance
Action reference
Input schemas describe the complete product operation. HTTP supplies path fields from the URL; MCP can supply site fields from credential binding. Result schemas describe the operation payload, returned directly as HTTP JSON, or carried inside MCP tool content. Runtime tools/list reflects credential-specific site binding.
Add contact
Add a person to this site. Needs an email or a phoneNumber in E.164 form (e.g. +15125550100); name is optional. New contacts are active and get notifications and reports unless those flags are set false. canEmailSite and canTextSite let the person command the site, default to false, and should be set only when the owner asked; canTextSite needs a phoneNumber. An email that is already a contact is refused with 409, and a phone number already on another contact is refused.
- HTTP:
POST /sites/{siteId}/contacts - MCP:
add_contact
Required permissions: site_contact:create. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | Default: "$function.ulid()". |
id | string | No | Default: "$function.ulid()". |
email | string | No | The contact's email address (lowercase; immutable — re-add to change). |
phoneNumber | string / null | No | The contact's canonical E.164 SMS number; null when cleared. |
name | string | No | Display name for the contact (optional). Default: "". |
receivesNotifications | boolean | No | Gets operational notifications (alerts, form messages). Default: true. |
receivesReports | boolean | No | Gets scheduled reports (e.g. the weekly email). Default: true. |
canEmailSite | boolean | No | May send commands to the site's agent by email (inbound authorization). Default: false. |
canTextSite | boolean | No | May send commands to the site's agent by SMS (inbound authorization). Default: false. |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"pattern": "^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$",
"minLength": 26,
"maxLength": 26,
"default": "$function.ulid()"
},
"id": {
"type": "string",
"pattern": "^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$",
"minLength": 26,
"maxLength": 26,
"default": "$function.ulid()"
},
"email": {
"type": "string",
"description": "The contact's email address (lowercase; immutable — re-add to change).",
"pattern": "^[^\\s@A-Z,;<>\"()\\[\\]\\\\]+@[^\\s@A-Z,;<>\"()\\[\\]\\\\.]+(\\.[^\\s@A-Z,;<>\"()\\[\\]\\\\.]+)+$",
"minLength": 6,
"maxLength": 254
},
"phoneNumber": {
"type": [
"string",
"null"
],
"description": "The contact's canonical E.164 SMS number; null when cleared.",
"pattern": "^\\+[1-9][0-9]{1,14}$",
"maxLength": 16
},
"name": {
"type": "string",
"description": "Display name for the contact (optional).",
"maxLength": 200,
"default": ""
},
"receivesNotifications": {
"type": "boolean",
"description": "Gets operational notifications (alerts, form messages).",
"default": true
},
"receivesReports": {
"type": "boolean",
"description": "Gets scheduled reports (e.g. the weekly email).",
"default": true
},
"canEmailSite": {
"type": "boolean",
"description": "May send commands to the site's agent by email (inbound authorization).",
"default": false
},
"canTextSite": {
"type": "boolean",
"description": "May send commands to the site's agent by SMS (inbound authorization).",
"default": false
}
},
"required": [
"siteId"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"receivesNotifications": {
"type": "boolean"
},
"receivesReports": {
"type": "boolean"
},
"canEmailSite": {
"type": "boolean"
},
"canTextSite": {
"type": "boolean"
},
"status": {
"type": "string"
},
"preferredChannel": {
"type": "string"
},
"preferredChannelFrom": {
"type": "string"
},
"preferredChannelThrough": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}Add domain
Attach a custom hostname to a site. Returns the domain in 'pending_dns' with the DNS records the owner must publish.
- HTTP:
POST /sites/{siteId}/domains - MCP:
add_domain
Required permissions: invoke.sitestar:add-domain. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The site to attach the hostname to. |
domain | string | Yes | Custom hostname to attach (normalized to lowercase server-side). |
Input schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1,
"description": "The site to attach the hostname to."
},
"domain": {
"type": "string",
"minLength": 1,
"description": "Custom hostname to attach (normalized to lowercase server-side)."
}
},
"required": [
"siteId",
"domain"
]
}Result schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"domain": {
"type": "object",
"required": [
"domain",
"type",
"isPrimary",
"status",
"statusReason",
"verification",
"created",
"modified"
],
"properties": {
"domain": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"custom",
"platform"
]
},
"isPrimary": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending_dns",
"verifying",
"active",
"failed"
]
},
"statusReason": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"records"
],
"properties": {
"records": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"host",
"value"
],
"properties": {
"type": {
"type": "string"
},
"host": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"plan": {
"type": "object"
}
}
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
}
}
},
"required": [
"domain"
]
}Add redirect
Add a URL redirect rule. from is a site path such as /old-page with no query string or fragment; to is a site path or an absolute http(s) URL, and cannot equal from. A from that already has a rule is refused with 409: use set_redirect_target to change it. A site holds at most 500 rules. The rule goes live at the site's next publish and rebuild, and that build fails loudly if from is still a live page, to does not resolve, or rules loop.
- HTTP:
POST /sites/{siteId}/redirects - MCP:
add_redirect
Required permissions: site_redirect:create. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | Default: "$function.ulid()". |
from | string | Yes | Source path, normalized (leading /, no trailing slash except root; immutable — re-add to change). Default: "". |
to | string | Yes | Target: a site-relative path or an absolute http(s) URL. Default: "". |
id | string | No | Default: "$function.ulid()". |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"pattern": "^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$",
"minLength": 26,
"maxLength": 26,
"default": "$function.ulid()"
},
"from": {
"type": "string",
"description": "Source path, normalized (leading /, no trailing slash except root; immutable — re-add to change).",
"pattern": "^(?!.*/\\.{1,2}(/|$))(/|/[^\\s?#\\\\]*[^\\s?#/\\\\])$",
"minLength": 1,
"maxLength": 512,
"default": ""
},
"to": {
"type": "string",
"description": "Target: a site-relative path or an absolute http(s) URL.",
"pattern": "^(/(?!/)\\S*|https?://\\S+)$",
"minLength": 1,
"maxLength": 512,
"default": ""
},
"id": {
"type": "string",
"pattern": "^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$",
"minLength": 26,
"maxLength": 26,
"default": "$function.ulid()"
}
},
"required": [
"siteId",
"from",
"to"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}Approve build
Approve the builder's draft of a site, ending the build phase. Only the site owner can call this, and only once a draft has been submitted for review (build status 'in-review'). On success the site moves from 'building' to 'ready', which is what makes go-live possible. Idempotent: approving an already-approved build succeeds.
- HTTP:
POST /sites/{siteId}/builds/{buildId}/approve - MCP:
approve_build
Required permissions: invoke.sitestar:approve-build. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
buildId | string | No | Optional; defaults to the site's current build. |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"description": "Approve a site build. buildId defaults to the site's current (newest) build; pass it explicitly to approve a specific one, which will fail if that build is no longer the one awaiting review. Rejected with 409 build-not-approvable when no draft has been submitted yet, and 403 when there is no authenticated user to attribute the approval to.",
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"buildId": {
"type": "string",
"minLength": 1,
"description": "Optional; defaults to the site's current build."
}
}
}Result schema
json
{
"type": "object",
"required": [
"build",
"site",
"alreadyApproved"
],
"description": "The approved build row and the released site row, both read back after the transaction.",
"properties": {
"build": {
"type": "object",
"description": "The site_build row, now in status 'approved'.",
"required": [
"id",
"siteId",
"status",
"created",
"modified"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"status": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"builderName": {
"type": "string"
},
"assignedAt": {
"type": "string"
},
"draftPromisedAt": {
"type": "string"
},
"draftDeliveredAt": {
"type": "string"
},
"draftConfigVersion": {
"type": "string"
},
"intakeCompletedAt": {
"type": "string"
},
"revisionCount": {
"type": "number"
},
"revisionRequestedAt": {
"type": "string"
},
"revisionNote": {
"type": "string"
},
"approvedAt": {
"type": "string"
},
"approvedByUserId": {
"type": "string"
},
"consultationState": {
"type": "string"
},
"consultationAt": {
"type": "string"
}
}
},
"site": {
"type": "object",
"description": "Public site summary after the site reaches status 'ready'. Credentials, billing identifiers, infrastructure fields, and tenancy internals are omitted.",
"required": [
"id",
"siteKey",
"name",
"status",
"hostingMode",
"created",
"modified"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string"
},
"name": {
"type": "string"
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"enum": [
"provisioning",
"building",
"ready",
"active",
"paused",
"archived",
"failed",
"migrated"
]
},
"hostingMode": {
"type": "string",
"enum": [
"managed",
"external"
]
},
"privateMode": {
"type": "boolean"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
}
},
"alreadyApproved": {
"type": "boolean",
"description": "True when the build was already approved before this call (idempotent replay), false when this call performed the approval."
}
},
"additionalProperties": false
}Cancel task
Cancel a task that has not shipped: stops the work in progress on it, then settles the task as canceled. Idempotent — canceling an already-canceled task succeeds. Refused with 409 ALREADY_SHIPPED when the task is done or live, OR when any part of its work already went out or is about to (even if the task still shows as in progress); revert shipped work with a new task instead. A success therefore means nothing shipped.
- HTTP:
POST /sites/{siteId}/tasks/{id}/cancel - MCP:
cancel_task
Required permissions: invoke.sitestar:cancel-task. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
id | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"id"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"id",
"siteId",
"status",
"alreadyCanceled"
],
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"status": {
"type": "string",
"description": "Always canceled on success — shipped work is refused (409 ALREADY_SHIPPED), never settled as canceled."
},
"statusChangedAt": {
"type": "string"
},
"alreadyCanceled": {
"type": "boolean",
"description": "True when the task was already canceled — the call was a no-op replay."
}
}
}Connect Teams
Mint a short-lived pairing code that links a Microsoft Teams channel to this site. The owner types connect <code> in the Teams channel they want the site's visitor conversations to appear in. The code expires in 15 minutes and works once. Use it when the owner asks to connect Teams; it does not connect anything on its own.
- HTTP:
POST /sites/{siteId}/teams/pairing-code - MCP:
connect_teams
Required permissions: invoke.sitestar:create-site-teams-pairing-code. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"code",
"expiresAt",
"instructions"
],
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"instructions": {
"type": "string"
}
}
}Create site
Create a new website. Returns the created site in 'provisioning' status; repo and hosting setup run asynchronously — poll get_site until status is 'building', which means setup finished and a Site Star builder is now designing the site. The site reaches 'ready' only after the customer approves the builder's draft, and can be launched (go-live) only from there.
- HTTP:
POST /sites - MCP:
create_site
Required permissions: invoke.sitestar:create-site. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for the new site. |
hostingMode | string | No | Where the site repo lives: Site Star org (managed) or the customer's own org (external). Allowed: "managed", "external". Default: "managed". |
id | string | No | Optional caller-supplied ULID; server-generated when omitted. |
onboardingDomain | string | No | The customer's EXISTING website hostname (e.g. acmeplumbing.com). Optional. Stored unverified and used to read that site for setting suggestions; it is never made the site's primary domain. Rejected with INVALID_HOSTNAME if malformed. |
Input schema
json
{
"type": "object",
"required": [
"name"
],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Display name for the new site."
},
"hostingMode": {
"type": "string",
"enum": [
"managed",
"external"
],
"default": "managed",
"description": "Where the site repo lives: Site Star org (managed) or the customer's own org (external)."
},
"id": {
"type": "string",
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
"description": "Optional caller-supplied ULID; server-generated when omitted."
},
"onboardingDomain": {
"type": "string",
"maxLength": 253,
"description": "The customer's EXISTING website hostname (e.g. acmeplumbing.com). Optional. Stored unverified and used to read that site for setting suggestions; it is never made the site's primary domain. Rejected with INVALID_HOSTNAME if malformed."
}
}
}Result schema
json
{
"type": "object",
"description": "The created site row; setup (repo, hosting) is dispatched asynchronously by the create hook.",
"required": [
"id",
"siteKey",
"name",
"status",
"hostingMode"
],
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string",
"pattern": "^[a-z0-9]{9}$",
"description": "Short public identifier (server-generated)."
},
"name": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"provisioning",
"building",
"ready",
"active",
"paused",
"archived",
"failed",
"migrated"
],
"description": "Always 'provisioning' on create."
},
"hostingMode": {
"type": "string",
"enum": [
"managed",
"external"
]
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"onboardingDomain": {
"type": "string",
"description": "Normalized hostname the customer supplied at creation; \"\" when none."
},
"privateMode": {
"type": "boolean"
},
"setupJobId": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
}
}Create task
Create a customer task on a site. idempotencyKey makes retries safe — the same key returns the original task.
- HTTP:
POST /sites/{siteId}/tasks - MCP:
create_task
Required permissions: invoke.sitestar:create-task. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
title | string | Yes | Trimmed server-side; must be non-empty after trimming. |
description | string | No | |
conversationId | string | No | Conversation that produced this request (feedback/report provenance). |
requestMessageId | string | No | Server-bound canonical request message provenance. |
idempotencyKey | string | Yes | Client retry identity; the task id is derived from it, so replays deduplicate. |
attachmentFileIds | array | No | Site file ids to attach to the task. They must be this site's customer uploads or link snapshots (not machine artifacts like screenshots); a file already attached to another task is attached again via an internal copy, so reuse is fine. The files are linked to the task and published on its GitHub issue. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"title",
"idempotencyKey"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "Trimmed server-side; must be non-empty after trimming."
},
"description": {
"type": "string",
"maxLength": 10000
},
"conversationId": {
"type": "string",
"description": "Conversation that produced this request (feedback/report provenance)."
},
"requestMessageId": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Server-bound canonical request message provenance."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Client retry identity; the task id is derived from it, so replays deduplicate."
},
"attachmentFileIds": {
"type": "array",
"maxItems": 25,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"description": "Site file ids to attach to the task. They must be this site's customer uploads or link snapshots (not machine artifacts like screenshots); a file already attached to another task is attached again via an internal copy, so reuse is fine. The files are linked to the task and published on its GitHub issue."
}
}
}Result schema
json
{
"type": "object",
"required": [
"task",
"deduplicated",
"reviewPolicy"
],
"properties": {
"task": {
"type": "object",
"description": "The created (or idempotently replayed) task row.",
"required": [
"id",
"siteId",
"title",
"status"
],
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"status": {
"type": "string"
},
"discussionConversationId": {
"type": "string"
}
}
},
"deduplicated": {
"type": "boolean",
"description": "True when the idempotency key matched an existing task."
},
"reviewPolicy": {
"type": "string",
"enum": [
"customer",
"auto"
],
"description": "How this task's changes get accepted. `customer`: the owner approves each change in the Site Star dashboard before it goes live. `auto`: changes go live on their own once internal review passes, with no owner approval step."
},
"notifications": {
"type": "array",
"description": "Every route this task's updates will actually be delivered on (email/sms), including on replays. Empty means nobody is signed up — the normal state for a request made from the dashboard, chat, or a phone call — so offer to set one up with set-task-notifications. Absent if ensuring the request-message notification subscription or reading notification routes failed after the task was created. When absent, do not state notification routes.",
"items": {
"type": "object",
"required": [
"channel",
"destination"
],
"properties": {
"channel": {
"type": "string",
"enum": [
"email",
"sms"
]
},
"destination": {
"type": "string"
},
"contactId": {
"type": "string",
"description": "Present when the route belongs to a site contact; the id set-task-notifications takes to change it."
}
}
}
}
}
}Decide change
Record the customer's review verdict on a site change's current revision. 'approved' initiates the SHA-guarded merge; 'changes_requested' sends it back. Requires an identified decider: an authenticated platform user, or (agent surface only) an authorized site contact.
- HTTP:
POST /sites/{siteId}/changes/{changeId}/decisions - MCP:
decide_change
Required permissions: invoke.sitestar:decide-change. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
changeId | string | Yes | |
siteId | string | Yes | |
outcome | string | Yes | Allowed: "approved", "changes_requested". |
body | string | No | Optional review note (trimmed server-side). |
idempotencyKey | string | No |
Input schema
json
{
"type": "object",
"required": [
"changeId",
"siteId",
"outcome"
],
"additionalProperties": false,
"description": "The customer's review verdict on the change's CURRENT revision. Requires an identified decider in the trusted context — a platform user, or an authorized site contact on the agent surface; anonymous or system-only callers are rejected (403 UNAUTHORIZED).",
"properties": {
"changeId": {
"type": "string",
"minLength": 1
},
"siteId": {
"type": "string",
"minLength": 1
},
"outcome": {
"type": "string",
"enum": [
"approved",
"changes_requested"
]
},
"body": {
"type": "string",
"maxLength": 2000,
"description": "Optional review note (trimmed server-side)."
},
"idempotencyKey": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9._:-]+$"
}
}
}Result schema
json
{
"type": "object",
"required": [
"changeId",
"outcome",
"applied",
"status"
],
"properties": {
"changeId": {
"type": "string"
},
"outcome": {
"type": "string",
"enum": [
"approved",
"changes_requested"
]
},
"applied": {
"type": "boolean",
"description": "Whether the protected merge was initiated (always false for changes_requested)."
},
"status": {
"type": "string",
"description": "The change's status after the decision."
},
"headSha": {
"type": "string"
},
"reviewCycle": {
"type": "integer",
"minimum": 0
},
"reason": {
"type": "string",
"enum": [
"revision-advanced",
"not-mergeable",
"already-applied"
]
},
"deduplicated": {
"type": "boolean"
}
}
}Describe site config
Discover the settings a site's configuration lets you change: the schema for the EDITABLE part of config.json, site-row settings such as site.timezone included (everything else is left out: managed identity, the Core pin, redirects, and platform-owned keys are not settings you can change here) and editablePaths, the exact dotted paths edit-site-config accepts. This can be large: call it once per contractId, not before every write. Use sections to request only the top-level sections you need; sections alone returns schema only and narrows editablePaths the same way. Use include to request schema, catalog, or both, adding catalog for automation capability ids/defaults/schedules. With no filters the full editable schema and catalog are returned. Source 'backend-current' means the description may be ahead of what the site accepts.
- HTTP:
GET /sites/{siteId}/config/describe - MCP:
describe_site_config
Required permissions: invoke.sitestar:describe-site-config. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
include | See schema | No | Contract parts to return. MCP/JSON callers use an array; REST query callers use a comma-separated string. Both when omitted, except sections alone implies schema only. |
sections | See schema | No | Top-level config.json sections to retain in the schema projection; only sections with editable settings exist. MCP/JSON callers use an array; REST query callers use a comma-separated string. Requires schema when include is supplied. |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"include": {
"oneOf": [
{
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"schema",
"catalog"
]
}
},
{
"type": "string",
"pattern": "^\\s*(schema|catalog)(\\s*,\\s*(schema|catalog))*\\s*$"
}
],
"description": "Contract parts to return. MCP/JSON callers use an array; REST query callers use a comma-separated string. Both when omitted, except sections alone implies schema only."
},
"sections": {
"oneOf": [
{
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"site",
"design",
"business",
"integrations",
"content",
"automations",
"tasks",
"chat"
]
}
},
{
"type": "string",
"pattern": "^\\s*(site|design|business|integrations|content|automations|tasks|chat)(\\s*,\\s*(site|design|business|integrations|content|automations|tasks|chat))*\\s*$"
}
],
"description": "Top-level config.json sections to retain in the schema projection; only sections with editable settings exist. MCP/JSON callers use an array; REST query callers use a comma-separated string. Requires schema when include is supplied."
}
}
}Result schema
json
{
"type": "object",
"required": [
"siteId",
"coreVersion",
"source",
"contractsVersion",
"contractId",
"include",
"editablePaths"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string"
},
"coreVersion": {
"type": "string",
"description": "The site's stamped deployed-Core version; \"\" when never stamped."
},
"source": {
"type": "string",
"enum": [
"site-pinned",
"backend-current"
],
"description": "site-pinned: served from the archive at the site's own version. backend-current: the authored current contracts — possibly ahead of what the site's vendored Core accepts."
},
"contractsVersion": {
"type": "string",
"description": "The archived core version serving these contracts; \"\" for backend-current."
},
"contractId": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$",
"description": "Stable identity of the complete schema and catalog pair. Cache projections by this id plus the echoed include/sections filters."
},
"include": {
"type": "array",
"items": {
"type": "string",
"enum": [
"schema",
"catalog"
]
},
"description": "The contract parts this response carries, defaults applied — echoed so the cache key of contractId plus filters is reconstructible from the response alone."
},
"sections": {
"type": "array",
"items": {
"type": "string"
},
"description": "The sections the schema was projected to; absent when the full schema (or no schema) was returned."
},
"editablePaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every dotted config.json path the dotted-path write form accepts (edit-site-config, or update-site-config's dotted form), narrowed to sections when supplied. Wildcard templates such as automations.*.enabled are returned as written; the capability ids that fill the wildcard are the schema's automations properties. Derived from the backend's allowlist, not the archived contract: take it from the response you act on, never from a cache keyed by contractId."
},
"schema": {
"type": "object",
"description": "JSON Schema (draft 2020-12) for the editable part of the site's config.json, pruned to the subtrees an editable path reaches with required filtered to match and additionalProperties opened on narrowed nodes (guidance, not the site's validation gate), optionally projected to requested sections. Its description texts carry semantics the shape cannot. Omitted when include excludes schema."
},
"catalog": {
"type": "object",
"description": "The automations catalog: capability ids with displayName, category, defaultEnabled, default schedules, and settings defaults. Omitted when include excludes catalog or sections alone requested schema."
}
}
}Dismiss idea
Dismiss a proposed site idea. Returns an acknowledgment; dismissal completes asynchronously.
- HTTP:
POST /sites/{siteId}/ideas/{ideaId}/dismiss - MCP:
dismiss_idea
Required permissions: invoke.sitestar:dismiss-idea. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
ideaId | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"ideaId"
],
"additionalProperties": false,
"description": "Dismiss a proposed idea. Completion is asynchronous. Returns 409 NOT_PROPOSED when the idea is not eligible, 409 SOURCE_MISSING when its source is unavailable, or 404 NOT_FOUND for an unknown idea.",
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"ideaId": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"status",
"sourceUrl"
],
"description": "Acknowledgment only (REST surface returns it as 202): the issue close succeeded and the idea row converges asynchronously through the mirror projection pipeline.",
"properties": {
"status": {
"const": "dismissing",
"description": "The idea's transitional status after the accepted dismiss."
},
"sourceUrl": {
"type": "string",
"format": "uri",
"description": "HTML URL of the idea's source GitHub issue."
}
}
}Edit site config
Edit a site's configuration by dotted config.json path, e.g. { "business.telephone": "+15551234567" }. Only paths in describe-site-config's editablePaths are accepted, and only LEAF values: an object value, or null on a path that holds other editable settings (e.g. chat.gate), is rejected with INVALID_CONFIG_PATH because it would replace or delete everything under that path; a whole section key such as "content" is rejected the same way. Nothing is written on rejection. Scalars and arrays replace whole (send the complete list), null deletes a leaf, at most 100 paths per call. Call get-site-config first to read current values. The edit is saved immediately and propagates to the live site automatically within minutes.
- HTTP:
PATCH /sites/{siteId}/config - MCP:
edit_site_config
Required permissions: invoke.sitestar:edit-site-config. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
edits | object | Yes | Flat map of dotted config.json paths to leaf values, e.g. { "content.brand.voice.prohibitedTerms": ["cheap"], "chat.gate.disclaimer": null }. Every key must be a dotted path from editablePaths; values must be scalars or arrays (never objects); arrays replace whole; null deletes a leaf, not a path with settings under it; at most 100 paths. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"edits"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"edits": {
"type": "object",
"description": "Flat map of dotted config.json paths to leaf values, e.g. { \"content.brand.voice.prohibitedTerms\": [\"cheap\"], \"chat.gate.disclaimer\": null }. Every key must be a dotted path from editablePaths; values must be scalars or arrays (never objects); arrays replace whole; null deletes a leaf, not a path with settings under it; at most 100 paths."
}
}
}Result schema
json
{
"type": "object",
"required": [
"siteId",
"applied",
"config"
],
"properties": {
"siteId": {
"type": "string"
},
"applied": {
"type": "array",
"items": {
"type": "string"
},
"description": "The dotted config paths applied, in request order."
},
"config": {
"type": "object",
"description": "The resulting configuration, pruned to the editable surface (the same view get-site-config returns, site-row settings included). A request that touched only site-row settings returns just those."
}
}
}Generate site config
Generate a config.json proposal for a site by reading its live pages. Read-only — review the suggestion and submit accepted parts via update-site-config. Use get-site-config for the current contractId, then describe only the proposed sections when that contract has not already been read.
- HTTP:
POST /sites/{siteId}/config/generate - MCP:
generate_site_config
Required permissions: invoke.sitestar:generate-site-config. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
sections | array | No | Config sections to generate; all three when omitted. |
pageLimit | integer | No | Maximum pages to ingest as evidence. The host read is the customer's existing website while the site is pre-live, otherwise its primary domain. Default: 6. |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"sections": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"site",
"business",
"content"
]
},
"description": "Config sections to generate; all three when omitted."
},
"pageLimit": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"default": 6,
"description": "Maximum pages to ingest as evidence. The host read is the customer's existing website while the site is pre-live, otherwise its primary domain."
}
}
}Result schema
json
{
"type": "object",
"required": [
"suggestion",
"sources",
"warnings",
"sections"
],
"description": "A config.json proposal. Read-only: nothing is written; submit accepted data via update_site_config.",
"properties": {
"suggestion": {
"type": "object",
"description": "Proposed config.json content for the requested sections."
},
"sources": {
"type": "array",
"items": {
"type": "string"
},
"description": "URLs used as generation evidence."
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"sections": {
"type": "array",
"items": {
"type": "string",
"enum": [
"site",
"business",
"content"
]
}
}
}
}Get analytics
Get one site's traffic analytics from the hosting platform. totals = pageviews, unique visitors, new visitors and sessions per time bucket (defaults to the last 7 days of daily buckets, today included). Breakdowns: type (events per type), channel (sessions per acquisition channel), device (per device class), path (pageviews per page), country (per viewer country), source (sessions per referrer host), campaign (sessions per utm_campaign). path/country/source/campaign are by day (up to 31), month (up to 24) or all-time, never by year; their rows are the top values over the whole range, every bucket included. Answers are shared for five minutes.
- HTTP:
GET /sites/{siteId}/analytics - MCP:
get_analytics
Required permissions: invoke.sitestar:get-site-analytics. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
period | string | No | Bucket size. Defaults to 'day'. 'total' is one all-time bucket and takes no date range. path/country/source/campaign accept day, month or total (not year). Allowed: "day", "month", "year", "total". |
dimension | string | No | Which rows come back, and which metrics they carry. totals: pageviews, visitors (unique in the bucket), newVisitors, sessions. type: count per event type (pageview, click_outbound, form_submit). channel: sessions and newVisitors per acquisition channel. device: pageviews, sessions, newVisitors per device class. path: pageviews per page (value = the path). country: pageviews, sessions, newVisitors per ISO country code. source: sessions, newVisitors per referrer host. campaign: sessions, newVisitors per utm_campaign. path, country, source and campaign accept period day, month or total; their rows are the top limit values ranked over the whole range, with every bucket row for each, so summing a value's rows gives its range total exactly. Allowed: "totals", "type", "channel", "device", "path", "country", "source", "campaign". |
startDate | string | No | Range start in the period's format (day: YYYY-MM-DD, month: YYYY-MM, year: YYYY), a real calendar date. Provide with endDate or omit both for the default trailing window (7 days, 12 months or 5 years, ending today UTC). path/country/source/campaign spans are bounded: 31 days or 24 months. |
endDate | string | No | Range end, same format as startDate, a real calendar date; the same bounds apply (31 days / 24 months for path/country/source/campaign). |
limit | integer / string | No | Max points per series (up to 200) — for path/country/source/campaign, the number of top values kept over the whole range. Numeric string accepted for query-param parity. |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"period": {
"type": "string",
"enum": [
"day",
"month",
"year",
"total"
],
"description": "Bucket size. Defaults to 'day'. 'total' is one all-time bucket and takes no date range. path/country/source/campaign accept day, month or total (not year)."
},
"dimension": {
"type": "string",
"enum": [
"totals",
"type",
"channel",
"device",
"path",
"country",
"source",
"campaign"
],
"description": "Which rows come back, and which metrics they carry. totals: pageviews, visitors (unique in the bucket), newVisitors, sessions. type: count per event type (pageview, click_outbound, form_submit). channel: sessions and newVisitors per acquisition channel. device: pageviews, sessions, newVisitors per device class. path: pageviews per page (value = the path). country: pageviews, sessions, newVisitors per ISO country code. source: sessions, newVisitors per referrer host. campaign: sessions, newVisitors per utm_campaign. path, country, source and campaign accept period day, month or total; their rows are the top `limit` values ranked over the whole range, with every bucket row for each, so summing a value's rows gives its range total exactly."
},
"startDate": {
"type": "string",
"maxLength": 10,
"description": "Range start in the period's format (day: YYYY-MM-DD, month: YYYY-MM, year: YYYY), a real calendar date. Provide with endDate or omit both for the default trailing window (7 days, 12 months or 5 years, ending today UTC). path/country/source/campaign spans are bounded: 31 days or 24 months."
},
"endDate": {
"type": "string",
"maxLength": 10,
"description": "Range end, same format as startDate, a real calendar date; the same bounds apply (31 days / 24 months for path/country/source/campaign)."
},
"limit": {
"type": [
"integer",
"string"
],
"description": "Max points per series (up to 200) — for path/country/source/campaign, the number of top values kept over the whole range. Numeric string accepted for query-param parity."
}
}
}Result schema
json
{
"type": "object",
"required": [
"siteId",
"period",
"dimension",
"items"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string"
},
"period": {
"type": "string"
},
"dimension": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"periodValue"
],
"additionalProperties": false,
"properties": {
"periodValue": {
"type": "string",
"description": "The bucket: '2026-08-02', '2026-08', '2026', or 'ALL'."
},
"value": {
"type": "string",
"description": "Breakdown value (event type, channel, device class, page path, country code, referrer host or campaign); absent on dimension=totals."
},
"count": {
"type": "number",
"description": "dimension=type only: events of that type in the bucket."
},
"pageviews": {
"type": "number",
"description": "totals, device, country and path."
},
"visitors": {
"type": "number",
"description": "totals only: unique visitors in the bucket."
},
"newVisitors": {
"type": "number",
"description": "First-ever visitors in the bucket; totals and every session-based breakdown."
},
"sessions": {
"type": "number",
"description": "Sessions started in the bucket; totals, channel, device, country, source and campaign."
}
}
}
}
}
}Get change decisions
List the review decisions recorded on one change, newest first: outcome ('approved' or 'changes_requested'), who decided (userId, or contact:<id> for a site contact), the note in body, and the reviewed revision (headSha) and reviewCycle. Decisions are permanent history, and only one matching the change's current revision AND review cycle counts: an approval of an older revision does not approve a newer one, and a reopened change needs a fresh decision even at the same revision. Take changeId from list_site_changes or list_needs_you.
- HTTP:
GET /sites/{siteId}/changes/{changeId}/decisions - MCP:
get_change_decisions
Required permissions: change_decision:list.by-change. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
changeId | string | No | Filter by changeId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
},
"changeId": {
"type": "string",
"description": "Filter by changeId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"changeId": {
"type": "string"
},
"userId": {
"type": "string"
},
"outcome": {
"type": "string"
},
"headSha": {
"type": "string"
},
"reviewCycle": {
"type": "number"
},
"body": {
"type": "string"
},
"idempotencyKey": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}Get chat SMS sender
Read a site's visitor-texting (SMS) setup: whether a text number has been provisioned for the site, the legal sender it belongs to, the number, and whether it is active or paused. Numbers are set up by Sitestar support, not by this tool.
- HTTP:
GET /sites/{siteId}/chat-sms/sender - MCP:
get_chat_sms_sender
Required permissions: invoke.sitestar:get-site-chat-sms-sender. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The site whose visitor-texting setup to read. |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1,
"description": "The site whose visitor-texting setup to read."
}
}
}Result schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"provisioned"
],
"properties": {
"provisioned": {
"type": "boolean",
"description": "False when no text number has been imported for this site."
},
"senderId": {
"type": "string"
},
"legalName": {
"type": "string",
"description": "Legal business name the number is registered under."
},
"brandType": {
"type": "string",
"enum": [
"STANDARD",
"SOLE_PROPRIETOR"
]
},
"senderStatus": {
"type": "string",
"enum": [
"ready",
"suspended"
]
},
"number": {
"type": "string",
"description": "E.164 visitor text number."
},
"numberStatus": {
"type": "string",
"enum": [
"pending",
"active",
"paused",
"released"
]
}
}
}Get file
Get one uploaded file only when it belongs to the requested site.
- HTTP:
GET /sites/{siteId}/files/{id} - MCP:
get_file
Required permissions: invoke.sitestar:get-site-file. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
id | string | Yes | File id returned by list_files or attached to this site's conversation. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"id"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"minLength": 1,
"description": "File id returned by list_files or attached to this site's conversation."
}
}
}Result schema
json
{
"type": "object",
"required": [
"id",
"siteId"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"name": {
"type": "string"
},
"contentType": {
"type": "string"
},
"contentLength": {
"type": "number"
},
"status": {
"type": "string"
},
"source": {
"type": "string"
},
"kind": {
"type": "string"
},
"usage": {
"type": "string"
},
"conversationId": {
"type": "string"
},
"messageId": {
"type": "string"
},
"caption": {
"type": "string"
},
"textContent": {
"type": "string"
},
"signedUrl": {
"type": "string"
}
}
}Get idea
Get one idea by id from list_ideas or list_needs_you: title, summary, status, and taskId when it was promoted into a task. An unknown id returns 404.
- HTTP:
GET /sites/{siteId}/ideas/{id} - MCP:
get_idea
Required permissions: site_idea:get. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The SiteIdea siteId to get |
id | string | Yes | The SiteIdea id to get |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"description": "The SiteIdea siteId to get"
},
"id": {
"type": "string",
"description": "The SiteIdea id to get"
}
},
"required": [
"siteId",
"id"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"status": {
"type": "string"
},
"discussionConversationId": {
"type": "string"
},
"taskId": {
"type": "string"
},
"sourceRef": {
"type": "string"
},
"sourceUrl": {
"type": "string"
},
"sourceCreatedAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}Get lead journey
What one inbox lead's visitor did on the website before and around reaching out: the pages of their session in order and how many visits it took. eventId is the inbox id (form-submission:<id> or conversation:<id>). journey is null when the lead carries no analytics session.
- HTTP:
GET /sites/{siteId}/events/{eventId}/journey
Required permissions: invoke.sitestar:get-site-lead-journey. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
eventId | string | Yes | The inbox row's id. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"eventId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"eventId": {
"type": "string",
"pattern": "^(form-submission|conversation):[0-9A-HJKMNP-TV-Z]{26}$",
"description": "The inbox row's id."
}
}
}Result schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"eventId",
"journey"
],
"properties": {
"eventId": {
"type": "string"
},
"journey": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"visits",
"firstSeenAt",
"session",
"historyTruncated"
],
"properties": {
"visits": {
"type": "integer",
"minimum": 0,
"description": "Distinct sessions seen for this visitor, the lead's included."
},
"firstSeenAt": {
"type": "string"
},
"historyTruncated": {
"type": "boolean",
"description": "True when only the newest events were read; visits and firstSeenAt are then lower bounds."
},
"session": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"startedAt",
"lastActivityAt",
"steps",
"stepsTruncated"
],
"properties": {
"startedAt": {
"type": "string"
},
"lastActivityAt": {
"type": "string"
},
"stepsTruncated": {
"type": "boolean"
},
"steps": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"type",
"path",
"at"
],
"properties": {
"type": {
"type": "string",
"enum": [
"pageview",
"form_submit"
]
},
"path": {
"type": "string",
"description": "Site path; empty for a page too unusual to record individually."
},
"at": {
"type": "string"
}
}
}
}
}
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
}
}
}View a page screenshot
LOOK AT one published page: returns the deploy-captured screenshot as an image you can actually see, plus its metadata. viewport 'desktop' (default) or 'mobile'. Use this for any visual or design question (colors, layout, spacing, how a section reads on a phone) rather than answering from the page's text. Shows the LIVE deployed site as captured at its last deploy, so pending changes are not in it. SCREENSHOTS_UNAVAILABLE means the current deploy predates screenshots; SCREENSHOT_NOT_CAPTURED means that route has no current screenshot.
- MCP:
get_page_screenshot
Required permissions: invoke.sitestar:view-page-screenshot. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
route | string | Yes | Page route path starting with '/'. |
viewport | string | No | Which capture variant to return; defaults to 'desktop'. Allowed: "desktop", "mobile". |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"route"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"route": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Page route path starting with '/'."
},
"viewport": {
"type": "string",
"enum": [
"desktop",
"mobile"
],
"description": "Which capture variant to return; defaults to 'desktop'."
}
}
}Result schema
json
{
"type": "object",
"required": [
"route",
"viewport",
"contentType"
],
"properties": {
"route": {
"type": "string"
},
"viewport": {
"type": "string",
"enum": [
"desktop",
"mobile"
]
},
"contentType": {
"type": "string"
},
"capturedAt": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"bytes": {
"type": "number"
}
}
}Get a page screenshot URL
Get one published page's deploy-captured screenshot by route: image metadata plus a short-lived signed URL to the JPEG. viewport 'desktop' (default) or 'mobile'. Reflects the currently deployed site, not pending changes. SCREENSHOTS_UNAVAILABLE means the site's current deploy predates screenshots; SCREENSHOT_NOT_CAPTURED means that route has no current screenshot (the message says why).
- HTTP:
GET /sites/{siteId}/page-screenshot
Required permissions: invoke.sitestar:get-page-screenshot. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
route | string | Yes | Page route path starting with '/'. |
viewport | string | No | Which capture variant to return; defaults to 'desktop'. Allowed: "desktop", "mobile". |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"route"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"route": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Page route path starting with '/'."
},
"viewport": {
"type": "string",
"enum": [
"desktop",
"mobile"
],
"description": "Which capture variant to return; defaults to 'desktop'."
}
}
}Result schema
json
{
"type": "object",
"required": [
"route",
"viewport",
"contentType",
"url"
],
"properties": {
"route": {
"type": "string"
},
"viewport": {
"type": "string",
"enum": [
"desktop",
"mobile"
]
},
"contentType": {
"type": "string"
},
"capturedAt": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"bytes": {
"type": "number"
},
"url": {
"type": "string",
"description": "Short-lived signed URL to the JPEG — fetch promptly, not a durable reference."
}
}
}Get platform status
Whether the platform's own upstream services are degraded right now, in customer terms: assistant (AI features), siteChanges (builds, deploys, and requested changes landing on the site), and conversations (message history). Use this when something platform-wide seems slow or failing, before assuming a problem with one site. The report is cached for up to five minutes; checkedAt is when it was measured. Not a site's own health — use get_site_status for that.
- HTTP:
GET /platform/status - MCP:
get_platform_status
Required permissions: invoke.sitestar:get-platform-status. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|
Input schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {}
}Result schema
json
{
"type": "object",
"required": [
"level",
"checkedAt",
"services"
],
"additionalProperties": false,
"properties": {
"level": {
"type": "string",
"enum": [
"ok",
"degraded"
],
"description": "'degraded' when any service is."
},
"checkedAt": {
"type": "string",
"description": "When the dependency probes ran (ISO 8601). Up to five minutes before the call."
},
"services": {
"type": "object",
"required": [
"assistant",
"siteChanges",
"conversations"
],
"additionalProperties": false,
"properties": {
"assistant": {
"type": "string",
"enum": [
"ok",
"degraded"
],
"description": "AI features: the website assistant, config generation, research."
},
"siteChanges": {
"type": "string",
"enum": [
"ok",
"degraded"
],
"description": "Site builds, deploys, and requested changes reaching the site."
},
"conversations": {
"type": "string",
"enum": [
"ok",
"degraded"
],
"description": "Conversation history: reading and sending messages."
}
}
}
}
}Get site
Get the site: name, status (provisioning, building, ready, active, paused, archived, failed, migrated), primaryDomain, timezone, planStatus, and its switches: privateMode with the gate password privateAuthSecret, geoBlocking with blockedCountries, smsEnabled, chatSmsEnabled, and chatHandoffEnabled. Read it before changing any of those switches.
- HTTP:
GET /sites/{id} - MCP:
get_site
Required permissions: site:get. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The Site id to get |
Input schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Site id to get"
}
},
"required": [
"id"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string"
},
"name": {
"type": "string"
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"onboardingDomain": {
"type": "string"
},
"status": {
"type": "string"
},
"activeConfigVersion": {
"type": "string"
},
"coreVersion": {
"type": "string"
},
"hostingMode": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"timezone": {
"type": "string"
},
"setupJobId": {
"type": "string"
},
"launchLockAt": {
"type": "string"
},
"transferLock": {
"type": "string"
},
"transferredAt": {
"type": "string"
},
"archivedAt": {
"type": "string"
},
"activatedAt": {
"type": "string"
},
"activationReason": {
"type": "string"
},
"privateMode": {
"type": "boolean"
},
"geoBlocking": {
"type": "string"
},
"smsEnabled": {
"type": "boolean"
},
"chatSmsEnabled": {
"type": "boolean"
},
"chatHandoffEnabled": {
"type": "boolean"
},
"blockedCountries": {
"type": "array"
},
"screenshot": {
"type": "object"
},
"icon": {
"type": "object"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"planId": {
"type": "string"
},
"planStatus": {
"type": "string"
},
"planLimits": {
"type": "object"
},
"subscriptionStatus": {
"type": "string"
},
"currentPeriodEnd": {
"type": "string"
},
"stampVersion": {
"type": "string"
}
},
"additionalProperties": true
}Get site config
Read a site's current settings in config.json shape, pruned to what edit-site-config can change and including the site-row settings it addresses (site.timezone) (managed identity such as site name/url, the Core pin, and redirects are not returned: read the site or list redirects for those), plus resolved automation state and the contractId governing it. Read-modify-write directly. Reuse any describe-site-config result with the same contractId; describe only missing sections when the id changes. Includes settings not yet deployed. Returns 409 SITE_NOT_READY while site setup has not completed.
- HTTP:
GET /sites/{siteId}/config - MCP:
get_site_config
Required permissions: invoke.sitestar:get-site-config. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"siteId",
"coreVersion",
"source",
"contractsVersion",
"contractId",
"config",
"automations"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string"
},
"coreVersion": {
"type": "string",
"description": "The site's stamped deployed-Core version; \"\" when never stamped."
},
"source": {
"type": "string",
"enum": [
"site-pinned",
"backend-current"
],
"description": "Which catalog resolved the automation state (mirrors describe-site-config)."
},
"contractsVersion": {
"type": "string"
},
"contractId": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$",
"description": "Stable identity of the complete schema and catalog pair used for this state."
},
"config": {
"type": "object",
"description": "Current settings compiled to config.json shape and pruned to the keys the dotted-path write can change."
},
"automations": {
"type": "array",
"description": "Resolved per-automation state, in catalog order.",
"items": {
"type": "object",
"required": [
"id",
"displayName",
"category",
"enabled",
"scheduleEnabled",
"cron",
"scheduleSource",
"defaultCron",
"settings",
"nextRunAt"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"description": "Stable capability id (the catalog key)."
},
"displayName": {
"type": "string"
},
"category": {
"type": "string"
},
"enabled": {
"type": "boolean",
"description": "Effective on/off: site override, else the catalog default."
},
"scheduleEnabled": {
"type": "boolean",
"description": "Whether site policy permits scheduled runs (mirrors Core). Can be true for a default-enabled automation with no cron — nothing fires when cron is []; check cron/nextRunAt for an actual schedule."
},
"cron": {
"type": "array",
"items": {
"type": "string"
},
"description": "The cron expressions driving scheduled runs ([] when none). UTC."
},
"scheduleSource": {
"type": "string",
"enum": [
"site-override",
"catalog-default",
"none"
]
},
"defaultCron": {
"type": "array",
"items": {
"type": "string"
},
"description": "The catalog's own schedule for this capability ([] when it has none). Distinct from `cron`: an opt-in automation never inherits the catalog schedule, so `cron` is [] until the site supplies one while this still reports what the catalog suggests. Send this with the enable flags when turning an opt-in automation on."
},
"settings": {
"type": "object",
"description": "Effective persistent settings: catalog defaults with site overrides."
},
"nextRunAt": {
"type": [
"string",
"null"
],
"description": "Next scheduled run (ISO, UTC), or null when scheduled runs are off."
}
}
}
}
}
}Get site event
Get one visitor event by its ID.
- HTTP:
GET /sites/{siteId}/events/{id}
Required permissions: site_event:get. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The SiteEvent siteId to get |
id | string | Yes | Deterministic id: <kind>:<platform row ULID>. |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"description": "The SiteEvent siteId to get"
},
"id": {
"type": "string",
"description": "Deterministic id: <kind>:<platform row ULID>."
}
},
"required": [
"siteId",
"id"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"kind": {
"type": "string"
},
"sourceId": {
"type": "string"
},
"domain": {
"type": "string"
},
"occurredAt": {
"type": "string"
},
"payload": {
"type": "object"
},
"fingerprint": {
"type": "string"
},
"hydrated": {
"type": "boolean"
},
"receiptPending": {
"type": "boolean"
},
"formType": {
"type": "string"
},
"pagePath": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"spamVerdict": {
"type": "string"
},
"spamScore": {
"type": "number"
},
"spamReasons": {
"type": "array"
},
"spamSource": {
"type": "string"
},
"spamAssessedAt": {
"type": "string"
},
"handoffNotifiedAt": {
"type": "string"
},
"followUpEmailSentAt": {
"type": "string"
},
"handoffRemindedAt": {
"type": "string"
},
"handoffReminderDueAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}Get site requests
Get one site's request-log numbers from the hosting platform: every page-level request CloudFront saw, bots included. A DIFFERENT count from get_analytics (which is what browsers running the site script reported) — never add or compare the two as the same thing. totals = requests, beaconSeen, and humanPageviews/humanBeaconSeen per bucket (browser measurement coverage = humanBeaconSeen / humanPageviews, a lower bound, not an ad-block rate; when humanPageviews is 0 there is no coverage figure — unavailable, not 0%). kind = requests per pageview, not_found, server_error or redirect, bots included. bot = requests per bot name (none = humans, sitestar = Site Star's own tooling). landingPath / errorPath = requests per page for pageviews / not-founds, bots included. host / country / campaign = human requests per hostname, country code or utm_campaign. bot, landingPath, errorPath, host, country and campaign are by day (up to 31), month (up to 24) or all-time, never by year; their rows are the top values over the whole range. Every answer carries meta: buckets after completeThrough are still arriving; days before historyStart are unavailable, not zero; coverage before coverageAvailableFrom is unavailable, not 0%. Answers are shared for five minutes.
- HTTP:
GET /sites/{siteId}/requests - MCP:
get_site_requests
Required permissions: invoke.sitestar:get-site-requests. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
period | string | No | Bucket size. Defaults to 'day'. 'total' is one all-time bucket and takes no date range. bot, landingPath, errorPath, host, country and campaign accept day, month or total (not year). Allowed: "day", "month", "year", "total". |
dimension | string | No | Which rows come back. totals: requests, beaconSeen, humanPageviews, humanBeaconSeen (coverage = humanBeaconSeen / humanPageviews; with humanPageviews 0 it is unavailable, not 0%). kind: requests and beaconSeen per kind (pageview = 200/304, not_found = 404/410, server_error = 5xx, redirect = https 301/302 to a page), bots included. bot: requests and beaconSeen per bot name (none = humans, sitestar = Site Star tooling); a bot with beaconSeen ran a browser. landingPath: requests per page for pageviews, bots included. errorPath: requests per page for not-founds, bots included. host: human requests per hostname — any host other than the site's primary is redirect traffic. country: human requests per ISO country code. campaign: human entry requests and beaconSeen per utm_campaign. Prefix-read dimensions return the top limit values ranked over the whole range, every bucket row for each; never use their sum as a total. Allowed: "totals", "kind", "bot", "landingPath", "errorPath", "host", "country", "campaign". |
startDate | string | No | Range start in the period's format (day: YYYY-MM-DD, month: YYYY-MM, year: YYYY), a real calendar date. Provide with endDate or omit both for the default trailing window (7 days, 12 months or 5 years, ending today UTC). Prefix-read spans are bounded: 31 days or 24 months. |
endDate | string | No | Range end, same format as startDate, a real calendar date; the same bounds apply. |
limit | integer / string | No | Max points per series (up to 200) — for prefix-read dimensions, the number of top values kept over the whole range. Numeric string accepted for query-param parity. |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"period": {
"type": "string",
"enum": [
"day",
"month",
"year",
"total"
],
"description": "Bucket size. Defaults to 'day'. 'total' is one all-time bucket and takes no date range. bot, landingPath, errorPath, host, country and campaign accept day, month or total (not year)."
},
"dimension": {
"type": "string",
"enum": [
"totals",
"kind",
"bot",
"landingPath",
"errorPath",
"host",
"country",
"campaign"
],
"description": "Which rows come back. totals: requests, beaconSeen, humanPageviews, humanBeaconSeen (coverage = humanBeaconSeen / humanPageviews; with humanPageviews 0 it is unavailable, not 0%). kind: requests and beaconSeen per kind (pageview = 200/304, not_found = 404/410, server_error = 5xx, redirect = https 301/302 to a page), bots included. bot: requests and beaconSeen per bot name (none = humans, sitestar = Site Star tooling); a bot with beaconSeen ran a browser. landingPath: requests per page for pageviews, bots included. errorPath: requests per page for not-founds, bots included. host: human requests per hostname — any host other than the site's primary is redirect traffic. country: human requests per ISO country code. campaign: human entry requests and beaconSeen per utm_campaign. Prefix-read dimensions return the top `limit` values ranked over the whole range, every bucket row for each; never use their sum as a total."
},
"startDate": {
"type": "string",
"maxLength": 10,
"description": "Range start in the period's format (day: YYYY-MM-DD, month: YYYY-MM, year: YYYY), a real calendar date. Provide with endDate or omit both for the default trailing window (7 days, 12 months or 5 years, ending today UTC). Prefix-read spans are bounded: 31 days or 24 months."
},
"endDate": {
"type": "string",
"maxLength": 10,
"description": "Range end, same format as startDate, a real calendar date; the same bounds apply."
},
"limit": {
"type": [
"integer",
"string"
],
"description": "Max points per series (up to 200) — for prefix-read dimensions, the number of top values kept over the whole range. Numeric string accepted for query-param parity."
}
}
}Result schema
json
{
"type": "object",
"required": [
"siteId",
"period",
"dimension",
"items",
"meta"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string"
},
"period": {
"type": "string"
},
"dimension": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"periodValue"
],
"additionalProperties": false,
"properties": {
"periodValue": {
"type": "string",
"description": "The bucket: '2026-08-02', '2026-08', '2026', or 'ALL'."
},
"value": {
"type": "string",
"description": "Breakdown value (kind, bot name, page path, hostname, country code or campaign); absent on dimension=totals."
},
"requests": {
"type": "number",
"description": "Page-level requests in the bucket; every dimension."
},
"beaconSeen": {
"type": "number",
"description": "Of those, entry pageviews whose browser beacon was matched; totals, kind, bot and campaign."
},
"humanPageviews": {
"type": "number",
"description": "totals only: pageviews from non-bot requests — browser measurement coverage's denominator; 0 means no coverage figure for the bucket, not 0%."
},
"humanBeaconSeen": {
"type": "number",
"description": "totals only: of humanPageviews, the ones whose beacon was matched — coverage's numerator."
}
}
}
},
"meta": {
"type": "object",
"required": [
"completeThrough",
"historyStart",
"coverageAvailableFrom"
],
"additionalProperties": false,
"properties": {
"completeThrough": {
"type": "string",
"description": "ISO instant. Buckets ending after it are still receiving requests."
},
"historyStart": {
"type": [
"string",
"null"
],
"description": "YYYY-MM-DD of the site's earliest request history; earlier buckets are unavailable, not zero. null = no history yet."
},
"coverageAvailableFrom": {
"type": [
"string",
"null"
],
"description": "YYYY-MM-DD of the first matched browser beacon; coverage before it is unavailable, not 0%. null = not yet available."
}
}
}
}
}Get site settings
Read the site’s settings.
- HTTP:
GET /sites/{siteId}/settings - MCP:
get_site_settings
Required permissions: site_setting:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"siteId": {
"type": "string"
},
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"object",
"array",
"null"
]
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}Get site status
Read one site's current health in one call: lifecycle and billing state, a bounded live HTTPS probe, domain verification state, latest published release, build state, and configuration propagation state. Each dependent source degrades independently instead of hiding the rest of the answer.
- HTTP:
GET /sites/{siteId}/status - MCP:
get_site_status
Required permissions: invoke.sitestar:get-site-status. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"site",
"live",
"domains",
"delivery"
],
"additionalProperties": false,
"properties": {
"site": {
"type": "object",
"required": [
"status",
"gated",
"gateReason",
"planStatus"
],
"additionalProperties": false,
"properties": {
"status": {
"type": "string"
},
"gated": {
"type": "boolean"
},
"gateReason": {
"type": "string",
"enum": [
"private",
"not-active",
"none"
]
},
"planStatus": {
"type": [
"string",
"null"
]
},
"planStatusUnavailable": {
"type": "string",
"enum": [
"not-found",
"read-failed"
]
}
}
},
"live": {
"type": "object",
"required": [
"checked",
"url",
"ok"
],
"additionalProperties": false,
"properties": {
"checked": {
"type": "boolean"
},
"url": {
"type": "string"
},
"finalUrl": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"httpStatus": {
"type": "integer"
},
"latencyMs": {
"type": "number"
},
"error": {
"type": "string",
"enum": [
"NO_PRIMARY_DOMAIN",
"GATE_SECRET_UNAVAILABLE",
"DNS_UNAVAILABLE",
"UNSAFE_ADDRESS",
"REDIRECT_LIMIT",
"UNSAFE_REDIRECT",
"TIMEOUT",
"CONNECTION_FAILED"
]
}
}
},
"domains": {
"type": "object",
"required": [
"items"
],
"additionalProperties": false,
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"hostname",
"type",
"primary",
"status",
"statusReason"
],
"additionalProperties": false,
"properties": {
"hostname": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"custom",
"platform"
]
},
"primary": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending_dns",
"verifying",
"active",
"failed"
]
},
"statusReason": {
"type": "string"
}
}
}
},
"unavailable": {
"const": "read-failed"
}
}
},
"delivery": {
"type": "object",
"required": [
"latestRelease",
"siteBuildStatus",
"configPropagationStatus"
],
"additionalProperties": false,
"properties": {
"latestRelease": {
"type": [
"object",
"null"
],
"required": [
"releaseId",
"version",
"publishedAt",
"url"
],
"additionalProperties": false,
"properties": {
"releaseId": {
"type": "string"
},
"version": {
"type": "string"
},
"publishedAt": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"latestReleaseUnavailable": {
"const": "read-failed"
},
"siteBuildStatus": {
"type": [
"string",
"null"
]
},
"siteBuildUnavailable": {
"const": "read-failed"
},
"configPropagationStatus": {
"type": [
"string",
"null"
]
},
"configPropagationUnavailable": {
"const": "read-failed"
}
}
}
}
}Get task
Get one task by id from list_tasks or list_needs_you: title, description, status with statusChangedAt, origin, requestSource, and discussionConversationId. Pass that conversation id to list_messages to read the task's update thread. An unknown id returns 404.
- HTTP:
GET /sites/{siteId}/tasks/{id} - MCP:
get_task
Required permissions: task:get. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The Task siteId to get |
id | string | Yes | The Task id to get |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"description": "The Task siteId to get"
},
"id": {
"type": "string",
"description": "The Task id to get"
}
},
"required": [
"siteId",
"id"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"status": {
"type": "string"
},
"statusChangedAt": {
"type": "string"
},
"origin": {
"type": "string"
},
"originRef": {
"type": "string"
},
"requestSource": {
"type": "string"
},
"requestedByUserId": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"sourceRetracted": {
"type": "boolean"
},
"conversationId": {
"type": "string"
},
"requestMessageId": {
"type": "string"
},
"discussionConversationId": {
"type": "string"
},
"sourceRef": {
"type": "string"
},
"sourceUrl": {
"type": "string"
},
"sourceCreatedAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}Get task notifications
List one task's notification routes — who gets updates about this task, on which channel (email, sms, webhook), at which address, and whether each route is active or disabled. Routes are created automatically from how the task was requested and from thread participation, and explicitly via set-task-notifications.
- HTTP:
GET /sites/{siteId}/tasks/{taskId}/notifications - MCP:
get_task_notifications
Required permissions: invoke.sitestar:get-task-notifications. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
taskId | string | Yes | The task's id exactly as returned by the task list. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"taskId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "The task's id exactly as returned by the task list."
}
}
}Result schema
json
{
"type": "object",
"required": [
"taskId",
"routes"
],
"properties": {
"taskId": {
"type": "string"
},
"routes": {
"type": "array",
"items": {
"type": "object",
"required": [
"subscriptionId",
"channel",
"destination",
"status",
"origin"
],
"properties": {
"subscriptionId": {
"type": "string"
},
"channel": {
"type": "string",
"enum": [
"email",
"sms",
"webhook"
]
},
"destination": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"disabled"
]
},
"origin": {
"type": "string",
"enum": [
"request",
"participation",
"explicit"
],
"description": "request = derived from the message that created the task; participation = added by replying into the task's thread; explicit = chosen via set-task-notifications."
},
"contactId": {
"type": "string",
"description": "Present when the route belongs to a site contact."
}
}
}
}
}
}Get Teams connection
Read whether this site has a Microsoft Teams channel connected, and its health. installation is null when nothing is connected. A status of error with lastErrorCode means Teams is refusing our posts and the owner must reconnect. events lists what the channel receives.
- HTTP:
GET /sites/{siteId}/teams/installation - MCP:
get_teams_connection
Required permissions: invoke.sitestar:get-site-teams-installation. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"installation"
],
"additionalProperties": false,
"properties": {
"installation": {
"oneOf": [
{
"type": "object",
"required": [
"id",
"status",
"disabledReason",
"teamName",
"channelName",
"events",
"pairedAt",
"lastErrorCode",
"lastErrorAt"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"disabled",
"error"
]
},
"disabledReason": {
"type": "string"
},
"teamName": {
"type": "string"
},
"channelName": {
"type": "string"
},
"events": {
"type": "array",
"items": {
"type": "string"
}
},
"pairedAt": {
"type": "string"
},
"lastErrorCode": {
"type": "string"
},
"lastErrorAt": {
"type": "string"
}
}
},
{
"type": "null"
}
]
}
}
}Launch a site with MCP
Launch a built site (the pay-on-go-live billing event). Call without confirm to preview the charge; call with confirm=true to commit it. May return a Stripe Checkout URL when no subscription exists yet. Failures return {message, code} and, when the caller has something to choose, a details object: SUBSCRIPTION_CHOICE_REQUIRED (409) — the account holds more than one subscription and one must be picked; details.subscriptions[] = [{id, status, paymentMethod, siteCount}]. SUBSCRIPTION_FULL (409) — the subscription already carries Stripe's maximum of 20 sites; details.subscriptionId is the full one and details.subscriptions[] the alternatives. SUBSCRIPTION_NOT_ATTACHABLE (409) — the named subscription is not this account's, or cannot take a new site. PAYMENT_FAILED_STATE (402) — that subscription has a failed payment; the card must be fixed first (it is never re-routed to a new subscription). Also PAYMENT_DECLINED (402), INVALID_PROMO_CODE (400), LAUNCH_IN_PROGRESS / LAUNCH_CONFLICT (409), SITE_NOT_READY (409). Choosing WHICH subscription pays is a human step in the billing UI: this tool has no subscription field, so on SUBSCRIPTION_CHOICE_REQUIRED or SUBSCRIPTION_FULL, report the choice to the user instead of retrying.
- MCP:
golive_site
Required permissions: invoke.sitestar:golive. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
confirm | boolean | No | True = the user accepted the previewed charge; commit it. Must be the JSON boolean true — any other value previews. Default: false. |
origin | string | Yes | Origin for Stripe Checkout redirect URLs (first subscription only). |
promotionCode | string | No | Coupon code for THIS site, applied as an item-level discount on the site's own subscription line (never the whole subscription). Send it on preview to see discounted numbers, and again on confirm to commit them. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"origin"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"confirm": {
"type": "boolean",
"default": false,
"description": "True = the user accepted the previewed charge; commit it. Must be the JSON boolean true — any other value previews."
},
"origin": {
"type": "string",
"format": "uri",
"description": "Origin for Stripe Checkout redirect URLs (first subscription only)."
},
"promotionCode": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Coupon code for THIS site, applied as an item-level discount on the site's own subscription line (never the whole subscription). Send it on preview to see discounted numbers, and again on confirm to commit them."
}
}
}Result schema
json
{
"oneOf": [
{
"type": "object",
"required": [
"action",
"preview"
],
"properties": {
"action": {
"const": "preview"
},
"preview": {
"type": "object",
"required": [
"amountDueNow",
"currency",
"recurringTotal",
"lines",
"paymentTarget"
],
"properties": {
"amountDueNow": {
"type": "integer",
"description": "Prorated charge on confirm, smallest currency unit. From Stripe's invoice preview — the exact number the card pays."
},
"currency": {
"type": "string"
},
"interval": {
"type": [
"string",
"null"
]
},
"recurringTotal": {
"type": "integer",
"description": "The next renewal invoice's total with this site included, smallest currency unit — Stripe's number, discounts applied."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"amount"
],
"properties": {
"description": {
"type": "string"
},
"amount": {
"type": "integer",
"description": "Line total after discounts, smallest currency unit."
}
}
},
"description": "The renewal invoice's lines (may truncate past 10; recurringTotal is authoritative)."
},
"appliedPromotionCode": {
"type": "string",
"description": "Canonical code applied to this preview, when one was submitted."
},
"discountDuration": {
"enum": [
"once",
"repeating",
"forever"
],
"description": "How long the applied coupon lasts. \"once\" = today's charge only; recurringTotal is then the FULL renewal price (the launch's proration invoice consumes the coupon). \"repeating\" = discountDurationInMonths months of renewals. \"forever\" = every renewal. Present only when a coupon was applied."
},
"discountDurationInMonths": {
"type": [
"integer",
"null"
],
"description": "Months the discount runs when discountDuration is \"repeating\"; null otherwise."
},
"paymentTarget": {
"type": "object",
"required": [
"subscriptionId",
"paymentMethod",
"siteCount"
],
"properties": {
"subscriptionId": {
"type": "string",
"description": "The subscription this preview was quoted against and that confirm will charge."
},
"paymentMethod": {
"type": "object",
"description": "Card summary on that subscription ({ type, brand?, last4? }); {} when unknown."
},
"siteCount": {
"type": "integer",
"description": "Sites already billed on that subscription."
}
},
"description": "Which subscription pays. Re-submit with this subscriptionId to keep it, or newSubscription: true to pay with a new card."
}
}
}
}
},
{
"type": "object",
"required": [
"action",
"url"
],
"properties": {
"action": {
"const": "checkout"
},
"url": {
"type": "string",
"description": "No subscription yet — complete Stripe Checkout, then call again."
}
}
},
{
"type": "object",
"required": [
"action",
"site",
"charged"
],
"properties": {
"action": {
"const": "activated"
},
"site": {
"type": "object",
"description": "The now-active site row."
},
"charged": {
"type": "boolean",
"description": "True when this call billed the card."
}
}
}
]
}Launch a site with HTTP
Launch a built site with an explicit payment target. Same contract and responses as golive_site, plus the human-only subscription choice: subscriptionId attaches the site to that existing subscription; newSubscription pays with a new card via Stripe Checkout. At most one of the two. Published on the application and service REST surfaces only — the agent-facing golive tool deliberately has no subscription field, so choosing which subscription pays stays a human step in the billing UI.
- HTTP:
POST /sites/{siteId}/golive
Required permissions: invoke.sitestar:golive-with-target. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
confirm | boolean | No | True = the user accepted the previewed charge; commit it. Must be the JSON boolean true — any other value previews. Default: false. |
origin | string | Yes | Origin for Stripe Checkout redirect URLs (first subscription only). |
promotionCode | string | No | Coupon code for THIS site, applied as an item-level discount on the site's own subscription line (never the whole subscription). Send it on preview to see discounted numbers, and again on confirm to commit them. |
subscriptionId | string | No | Attach the site to this existing subscription (a Stripe sub_ id from preview.paymentTarget or the SUBSCRIPTION_CHOICE_REQUIRED / SUBSCRIPTION_FULL details). Mutually exclusive with newSubscription; ownership and capacity are verified against the caller's own account. |
newSubscription | boolean | No | True = pay with a new card on a new subscription (Stripe Checkout), even when an attachable subscription exists. Mutually exclusive with subscriptionId. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"origin"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"confirm": {
"type": "boolean",
"default": false,
"description": "True = the user accepted the previewed charge; commit it. Must be the JSON boolean true — any other value previews."
},
"origin": {
"type": "string",
"format": "uri",
"description": "Origin for Stripe Checkout redirect URLs (first subscription only)."
},
"promotionCode": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Coupon code for THIS site, applied as an item-level discount on the site's own subscription line (never the whole subscription). Send it on preview to see discounted numbers, and again on confirm to commit them."
},
"subscriptionId": {
"type": "string",
"minLength": 1,
"description": "Attach the site to this existing subscription (a Stripe sub_ id from preview.paymentTarget or the SUBSCRIPTION_CHOICE_REQUIRED / SUBSCRIPTION_FULL details). Mutually exclusive with newSubscription; ownership and capacity are verified against the caller's own account."
},
"newSubscription": {
"type": "boolean",
"description": "True = pay with a new card on a new subscription (Stripe Checkout), even when an attachable subscription exists. Mutually exclusive with subscriptionId."
}
}
}Result schema
json
{
"oneOf": [
{
"type": "object",
"required": [
"action",
"preview"
],
"properties": {
"action": {
"const": "preview"
},
"preview": {
"type": "object",
"required": [
"amountDueNow",
"currency",
"recurringTotal",
"lines",
"paymentTarget"
],
"properties": {
"amountDueNow": {
"type": "integer",
"description": "Prorated charge on confirm, smallest currency unit. From Stripe's invoice preview — the exact number the card pays."
},
"currency": {
"type": "string"
},
"interval": {
"type": [
"string",
"null"
]
},
"recurringTotal": {
"type": "integer",
"description": "The next renewal invoice's total with this site included, smallest currency unit — Stripe's number, discounts applied."
},
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"amount"
],
"properties": {
"description": {
"type": "string"
},
"amount": {
"type": "integer",
"description": "Line total after discounts, smallest currency unit."
}
}
},
"description": "The renewal invoice's lines (may truncate past 10; recurringTotal is authoritative)."
},
"appliedPromotionCode": {
"type": "string",
"description": "Canonical code applied to this preview, when one was submitted."
},
"discountDuration": {
"enum": [
"once",
"repeating",
"forever"
],
"description": "How long the applied coupon lasts. \"once\" = today's charge only; recurringTotal is then the FULL renewal price (the launch's proration invoice consumes the coupon). \"repeating\" = discountDurationInMonths months of renewals. \"forever\" = every renewal. Present only when a coupon was applied."
},
"discountDurationInMonths": {
"type": [
"integer",
"null"
],
"description": "Months the discount runs when discountDuration is \"repeating\"; null otherwise."
},
"paymentTarget": {
"type": "object",
"required": [
"subscriptionId",
"paymentMethod",
"siteCount"
],
"properties": {
"subscriptionId": {
"type": "string",
"description": "The subscription this preview was quoted against and that confirm will charge."
},
"paymentMethod": {
"type": "object",
"description": "Card summary on that subscription ({ type, brand?, last4? }); {} when unknown."
},
"siteCount": {
"type": "integer",
"description": "Sites already billed on that subscription."
}
},
"description": "Which subscription pays. Re-submit with this subscriptionId to keep it, or newSubscription: true to pay with a new card."
}
}
}
}
},
{
"type": "object",
"required": [
"action",
"url"
],
"properties": {
"action": {
"const": "checkout"
},
"url": {
"type": "string",
"description": "No subscription yet — complete Stripe Checkout, then call again."
}
}
},
{
"type": "object",
"required": [
"action",
"site",
"charged"
],
"properties": {
"action": {
"const": "activated"
},
"site": {
"type": "object",
"description": "The now-active site row."
},
"charged": {
"type": "boolean",
"description": "True when this call billed the card."
}
}
}
]
}List contacts
List the people associated with this site, in no particular order: id, name, email, phoneNumber, status ('active', or 'disabled' which mutes the contact everywhere), receivesNotifications (alerts and form messages), receivesReports (scheduled reports), canEmailSite and canTextSite (may command the site by email or text), and preferredChannel. Use it to find a contact's id before changing that contact.
- HTTP:
GET /sites/{siteId}/contacts - MCP:
list_contacts
Required permissions: site_contact:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"receivesNotifications": {
"type": "boolean"
},
"receivesReports": {
"type": "boolean"
},
"canEmailSite": {
"type": "boolean"
},
"canTextSite": {
"type": "boolean"
},
"status": {
"type": "string"
},
"preferredChannel": {
"type": "string"
},
"preferredChannelFrom": {
"type": "string"
},
"preferredChannelThrough": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List conversations
List the owner's conversations with Site Star about this site: id, purpose (general, task, change, idea, report, feedback, notification, review), subjectId (the task, change, or idea discussed), status ('active' or 'closed'), summary, and lastMessageAt. Read one with list_messages. Visitor chats with the website are not here; they are in list_site_events.
- HTTP:
GET /conversations - MCP:
list_conversations
Required permissions: conversation:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"purpose": {
"type": "string"
},
"subjectId": {
"type": "string"
},
"status": {
"type": "string"
},
"dialogueId": {
"type": "string"
},
"summary": {
"type": "string"
},
"lastMessageAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List domains
List a site's domains with status and the DNS records to publish for pending verifications.
- HTTP:
GET /sites/{siteId}/domains - MCP:
list_domains
Required permissions: invoke.sitestar:list-domains. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The site whose domains to list. |
Input schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1,
"description": "The site whose domains to list."
}
},
"required": [
"siteId"
]
}Result schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"domains": {
"type": "array",
"items": {
"type": "object",
"required": [
"domain",
"type",
"isPrimary",
"status",
"statusReason",
"verification",
"created",
"modified"
],
"properties": {
"domain": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"custom",
"platform"
]
},
"isPrimary": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending_dns",
"verifying",
"active",
"failed"
]
},
"statusReason": {
"type": "string",
"description": "Human-readable reason when status is failed; empty otherwise."
},
"verification": {
"type": "object",
"required": [
"records"
],
"properties": {
"records": {
"type": "array",
"description": "Recommended option's DNS records to publish.",
"items": {
"type": "object",
"required": [
"type",
"host",
"value"
],
"properties": {
"type": {
"type": "string"
},
"host": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"plan": {
"type": "object",
"description": "Shape/provider-aware connection plan (v2 rows only; absent for v1 rows)."
}
}
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
}
}
}
},
"required": [
"domains"
]
}List files
List files uploaded to this site (images, documents), newest first. Screenshots and other machine-made files are excluded. Each row has id, name, contentType, kind, contentLength, and a generated caption once processed. Pass an id to get_file to read the file, or to create_task as an attachment. Page with limit and next.
- HTTP:
GET /sites/{siteId}/files - MCP:
list_files
Required permissions: site_file:list.by-site-uploads. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"contentType": {
"type": "string"
},
"contentLength": {
"type": "number"
},
"status": {
"type": "string"
},
"source": {
"type": "string"
},
"kind": {
"type": "string"
},
"usage": {
"type": "string"
},
"conversationId": {
"type": "string"
},
"messageId": {
"type": "string"
},
"taskId": {
"type": "string"
},
"addedBy": {
"type": "string"
},
"caption": {
"type": "string"
},
"textContent": {
"type": "string"
},
"expires": {
"type": "number"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List ideas
List the site's ideas, newest first: proposals the owner may accept, dismiss, or turn into work. status is proposed, promoting, accepted, dismissed, or withdrawn; taskId is set once an idea became a task. Use it for the history of suggestions. It is a page, so for ideas still awaiting a decision use list_needs_you, then promote_idea or dismiss_idea.
- HTTP:
GET /sites/{siteId}/ideas - MCP:
list_ideas
Required permissions: site_idea:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"status": {
"type": "string"
},
"discussionConversationId": {
"type": "string"
},
"taskId": {
"type": "string"
},
"sourceRef": {
"type": "string"
},
"sourceUrl": {
"type": "string"
},
"sourceCreatedAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List inbound addresses
List the addresses that route to this site: type 'email' (a custom email alias), 'sms' (the number contacts text the assistant at), or 'public-sms' (the visitor live-chat text number), each with address and status (pending, active, paused, released). The site's standard email address is not listed. Use it to answer what number to text the site at.
- HTTP:
GET /sites/{siteId}/inbound-addresses - MCP:
list_inbound_addresses
Required permissions: site_inbound_address:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"type": {
"type": "string"
},
"address": {
"type": "string"
},
"status": {
"type": "string"
},
"smsSenderId": {
"type": "string"
},
"registeredConfirmedAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List messages
List messages in a conversation, newest first by default. Paginate with the returned 'next' cursor.
- HTTP:
GET /conversations/{conversationId}/messages - MCP:
list_messages
Required permissions: invoke.sitestar:list-messages. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
conversationId | string | Yes | |
siteId | string | Yes | |
limit | integer / string | No | Page size, 1-100 (default 50). Numeric string accepted for REST-query parity; non-numeric values fall back to the default. |
next | string | No | Opaque pagination cursor from a previous page. |
order | string | No | Allowed: "asc", "desc". Default: "desc". |
Input schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"conversationId",
"siteId"
],
"properties": {
"conversationId": {
"type": "string",
"minLength": 1
},
"siteId": {
"type": "string",
"minLength": 1
},
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size, 1-100 (default 50). Numeric string accepted for REST-query parity; non-numeric values fall back to the default."
},
"next": {
"type": "string",
"description": "Opaque pagination cursor from a previous page."
},
"order": {
"type": "string",
"enum": [
"asc",
"desc"
],
"default": "desc"
}
}
}Result schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"role",
"content",
"created"
],
"properties": {
"id": {
"type": "string"
},
"role": {
"type": "string"
},
"content": {},
"created": {
"type": "string",
"format": "date-time"
},
"metadata": {
"type": "object",
"description": "Channel/provider metadata persisted on the row. Values are arbitrary JSON — e.g. email messages carry an 'attachments' array of file refs."
},
"deliveries": {
"type": "array",
"description": "Where this message was sent and what came back, one entry per route. Absent means nothing is known about it — not that it arrived, and not that it failed.",
"items": {
"type": "object",
"required": [
"id",
"channel",
"destinationLabel",
"sendState",
"outcome",
"engagement"
],
"properties": {
"id": {
"type": "string",
"description": "Id of the send obligation this describes."
},
"channel": {
"type": "string",
"enum": [
"email",
"sms"
]
},
"destinationLabel": {
"type": "string",
"description": "Where it was sent, as a display value."
},
"sendState": {
"type": "string",
"enum": [
"pending",
"accepted",
"failed",
"cancelled",
"unknown"
],
"description": "What happened to the handoff. 'accepted' means a provider took it, never that a person received it."
},
"outcome": {
"type": "string",
"enum": [
"unknown",
"delivered",
"bounced",
"rejected",
"undelivered",
"complained"
],
"description": "What the provider later reported. 'unknown' means nothing has been reported, which is not a failure."
},
"reasonKind": {
"type": "string",
"description": "Classification of a non-arrival, e.g. bounce-permanent, bounce-ambiguous, rejected."
},
"reasonText": {
"type": "string",
"description": "Bounded provider diagnostic for a non-arrival."
},
"acceptedAt": {
"type": "string",
"description": "When a provider accepted the send."
},
"deliveredAt": {
"type": "string"
},
"bouncedAt": {
"type": "string"
},
"rejectedAt": {
"type": "string"
},
"complainedAt": {
"type": "string"
},
"engagement": {
"type": "object",
"description": "Observed signals only. 'unavailable' means the send could not carry the signal; 'unknown' means it is not known whether it could. Neither absence is evidence that nobody read the message.",
"required": [
"opens",
"clicks"
],
"properties": {
"opens": {
"type": "string",
"enum": [
"enabled",
"unavailable",
"unknown"
]
},
"clicks": {
"type": "string",
"enum": [
"enabled",
"unavailable",
"unknown"
]
},
"firstOpenedAt": {
"type": "string"
},
"lastOpenedAt": {
"type": "string"
},
"firstClickedAt": {
"type": "string"
},
"lastClickedAt": {
"type": "string"
}
}
}
}
}
},
"deliveriesTruncated": {
"type": "boolean",
"description": "True when 'deliveries' is a partial list: the message reached more routes than are shown."
}
}
}
},
"next": {
"type": "string",
"description": "Present when another page exists."
}
}
}List items needing your attention
THE authoritative answer to 'where are we at' — two complete sets in one call: items is everything blocked on the owner's decision (oldest first), inFlight is every open piece of work the site owes them — requested or working tasks, changes being prepared or landing, a build in progress (newest first). Call this before saying anything about what is or is not pending; never infer that from the activity feed, which records what happened rather than what is still open. You may state that nothing is waiting on the owner ONLY if this call succeeded and items is empty, and that nothing is in progress ONLY if it succeeded and inFlight is empty — an empty items alone means no DECISION is pending, never that nothing is happening. If it errors, say you could not check — an error never means nothing is pending.
- HTTP:
GET /sites/{siteId}/owner-blocked - MCP:
list_needs_you
Required permissions: invoke.sitestar:list-owner-blocked. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"description": "Everything currently open for the site, split by who it waits on: `items` is what awaits the owner's decision (proposed ideas, changes waiting for review, a build draft in review), `inFlight` is open work the site owes the owner (requested/working tasks, changes being prepared or landing, a build in progress). Both sets are complete (pagination is exhausted server-side). Fails closed: if any underlying read does not complete the call errors rather than returning a short list.",
"properties": {
"siteId": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"items",
"inFlight",
"complete"
],
"properties": {
"complete": {
"type": "boolean",
"description": "Always true on success — both sets are complete, not pages. Only assert 'nothing is waiting' when this is true and items is empty, and 'nothing is in progress' when this is true and inFlight is empty."
},
"items": {
"type": "array",
"description": "Everything blocked on the owner's decision, oldest first.",
"items": {
"type": "object",
"required": [
"kind",
"id",
"title",
"status",
"since"
],
"properties": {
"kind": {
"type": "string",
"description": "'idea', 'change', or 'build' — the entity the caller should link to."
},
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string",
"description": "The blocking status: proposed, waiting-for-review, or in-review."
},
"since": {
"type": "string",
"description": "Source clock (ISO). NOT 'waiting since' — an item can enter a blocking status more than once. Do not present it as a wait duration."
}
}
}
},
"inFlight": {
"type": "array",
"description": "Open work the site owes the owner — nothing here needs the owner to act. Newest first.",
"items": {
"type": "object",
"required": [
"kind",
"id",
"title",
"status",
"since"
],
"properties": {
"kind": {
"type": "string",
"description": "'task', 'change', or 'build' — the entity the caller should link to."
},
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string",
"description": "The in-flight status: requested, working, draft, changes-requested, approved-applying, queued-for-release, or a build status."
},
"since": {
"type": "string",
"description": "Source clock (ISO) of when the item was created."
}
}
}
}
}
}List pages
List the published site's pages from the live content inventory (route, title, description, type). Reflects the currently deployed site.
- HTTP:
GET /sites/{siteId}/pages - MCP:
list_pages
Required permissions: invoke.sitestar:list-pages. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"pages"
],
"properties": {
"site": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"pages": {
"type": "array",
"items": {
"type": "object",
"required": [
"route",
"url",
"type"
],
"properties": {
"route": {
"type": "string"
},
"url": {
"type": "string"
},
"type": {
"type": "string",
"description": "'page', or the post type name (e.g. 'blog')."
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"date": {
"type": "string"
},
"dateModified": {
"type": "string"
},
"image": {
"type": "string"
},
"markdown": {
"type": "string",
"description": "URL of the clean-markdown mirror, when the build emitted one."
},
"noindex": {
"type": "boolean"
}
}
}
}
}
}List redirects
List the site's URL redirect rules, in no particular order: id, from (a site path) and to (a site path or http(s) URL), each served as a 301. Read it before adding or changing a rule so the new rule never contradicts an existing one.
- HTTP:
GET /sites/{siteId}/redirects - MCP:
list_redirects
Required permissions: site_redirect:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List site activity
List one feed tier of the site's activity timeline, newest first. Every row includes a server-rendered headline plus its subject title.
- HTTP:
GET /sites/{siteId}/activity - MCP:
list_site_activity
Required permissions: invoke.sitestar:list-site-activity. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
level | string | Yes | Feed tier: primary (main feed), detail, or trace. Allowed: "primary", "detail", "trace". |
limit | integer / string | No | Page size; numeric string accepted for query-param parity. |
next | string | No | Opaque cursor from a previous page. Only send a value returned by a previous call with the same siteId and level; omit it for the first page. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"level"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"level": {
"type": "string",
"enum": [
"primary",
"detail",
"trace"
],
"description": "Feed tier: primary (main feed), detail, or trace."
},
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity."
},
"next": {
"type": "string",
"minLength": 1,
"description": "Opaque cursor from a previous page. Only send a value returned by a previous call with the same siteId and level; omit it for the first page."
}
}
}Result schema
json
{
"type": "object",
"required": [
"items"
],
"additionalProperties": false,
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"headline"
],
"additionalProperties": true,
"properties": {
"headline": {
"type": "string"
}
}
}
},
"next": {
"type": "string"
}
}
}List site changes
List the site's changes, newest first, one page at a time. A change is a concrete update delivered for one task (taskId). status is draft, waiting-for-review, changes-requested, approved-applying, queued-for-release, live, or canceled; summary describes the current revision. Use it for recent or in-progress delivery work. It is not the source for what awaits the owner's review: that is list_needs_you, and verdicts go through decide_change.
- HTTP:
GET /sites/{siteId}/changes - MCP:
list_site_changes
Required permissions: site_change:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"taskId": {
"type": "string"
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"summaryHeadSha": {
"type": "string"
},
"status": {
"type": "string"
},
"reviewCycle": {
"type": "number"
},
"reviewCycleAnchor": {
"type": "string"
},
"desiredDecisionHeadSha": {
"type": "string"
},
"desiredDecisionOutcome": {
"type": "string"
},
"desiredDecisionReviewCycle": {
"type": "number"
},
"deliveredDecisionHeadSha": {
"type": "string"
},
"deliveredDecisionOutcome": {
"type": "string"
},
"deliveredDecisionReviewCycle": {
"type": "number"
},
"decisionReconciliationNeeded": {
"type": "string"
},
"decisionStatusHeadSha": {
"type": "string"
},
"decisionStatusOutcome": {
"type": "string"
},
"decisionStatusReviewCycle": {
"type": "number"
},
"discussionConversationId": {
"type": "string"
},
"sourceRef": {
"type": "string"
},
"sourceUrl": {
"type": "string"
},
"sourceHeadSha": {
"type": "string"
},
"acceptedAt": {
"type": "string"
},
"releaseId": {
"type": "string"
},
"releasedVersion": {
"type": "string"
},
"releasedAt": {
"type": "string"
},
"releaseUrl": {
"type": "string"
},
"deployedReleaseId": {
"type": "string"
},
"deployedVersion": {
"type": "string"
},
"deployedAt": {
"type": "string"
},
"deploymentRunId": {
"type": "string"
},
"deploymentSha": {
"type": "string"
},
"deploymentUrl": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List site events
The site's inbox, newest first: everything visitors sent through the site. kind 'form-submission' rows carry formType, pagePath, email, phone, the submitted fields in payload, and spamVerdict ('' not yet assessed, 'ham', or 'spam'). kind 'conversation' rows are visitor chats and texts; their sourceId is the visitorConversationId that list_visitor_messages takes. Page with limit and next. For one kind only, use list_site_events_by_kind.
- HTTP:
GET /sites/{siteId}/events - MCP:
list_site_events
Required permissions: site_event:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"kind": {
"type": "string"
},
"sourceId": {
"type": "string"
},
"domain": {
"type": "string"
},
"occurredAt": {
"type": "string"
},
"payload": {
"type": "object"
},
"fingerprint": {
"type": "string"
},
"hydrated": {
"type": "boolean"
},
"receiptPending": {
"type": "boolean"
},
"formType": {
"type": "string"
},
"pagePath": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"spamVerdict": {
"type": "string"
},
"spamScore": {
"type": "number"
},
"spamReasons": {
"type": "array"
},
"spamSource": {
"type": "string"
},
"spamAssessedAt": {
"type": "string"
},
"handoffNotifiedAt": {
"type": "string"
},
"followUpEmailSentAt": {
"type": "string"
},
"handoffRemindedAt": {
"type": "string"
},
"handoffReminderDueAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List site events by kind
The site's inbox filtered to one kind, newest first. kind 'form-submission' returns form fills (formType, pagePath, email, phone, the submitted fields in payload, spamVerdict). kind 'conversation' returns visitor chat and text conversations (sourceId is the visitorConversationId that list_visitor_messages takes). Page with limit and next.
- HTTP:
GET /sites/{siteId}/events/kind/{kind} - MCP:
list_site_events_by_kind
Required permissions: site_event:list.by-kind. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
kind | string | No | Which platform entity this mirrors. Allowed: "form-submission", "conversation". |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
},
"kind": {
"type": "string",
"description": "Which platform entity this mirrors.",
"enum": [
"form-submission",
"conversation"
]
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"kind": {
"type": "string"
},
"sourceId": {
"type": "string"
},
"domain": {
"type": "string"
},
"occurredAt": {
"type": "string"
},
"payload": {
"type": "object"
},
"fingerprint": {
"type": "string"
},
"hydrated": {
"type": "boolean"
},
"receiptPending": {
"type": "boolean"
},
"formType": {
"type": "string"
},
"pagePath": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"spamVerdict": {
"type": "string"
},
"spamScore": {
"type": "number"
},
"spamReasons": {
"type": "array"
},
"spamSource": {
"type": "string"
},
"spamAssessedAt": {
"type": "string"
},
"handoffNotifiedAt": {
"type": "string"
},
"followUpEmailSentAt": {
"type": "string"
},
"handoffRemindedAt": {
"type": "string"
},
"handoffReminderDueAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List sites
List websites available to this credential. An account-level credential receives every site in the account; a site-scoped credential receives only its bound site.
- HTTP:
GET /sites - MCP:
list_sites
Required permissions: invoke.sitestar:list-sites, site:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-parameter parity. |
next | string | No | Opaque cursor from a previous page. |
Input schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-parameter parity."
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page."
}
}
}Result schema
json
{
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"additionalProperties": false
}List tasks
List the site's tasks, newest first, one page at a time (limit, then next). A task is a piece of work the site is doing for the owner. status is requested, working, done, or live, or ends as failed or canceled; requestSource says whether the owner or the website asked. A page is never a complete picture of open work: for what is in progress or waiting on the owner, use list_needs_you.
- HTTP:
GET /sites/{siteId}/tasks - MCP:
list_tasks
Required permissions: task:list. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
limit | integer / string | No | Page size; numeric string accepted for query-param parity |
next | string | No | Opaque cursor from a previous page |
siteId | string | No | Filter by siteId |
Input schema
json
{
"type": "object",
"properties": {
"limit": {
"type": [
"integer",
"string"
],
"description": "Page size; numeric string accepted for query-param parity"
},
"next": {
"type": "string",
"description": "Opaque cursor from a previous page"
},
"siteId": {
"type": "string",
"description": "Filter by siteId"
}
},
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"status": {
"type": "string"
},
"statusChangedAt": {
"type": "string"
},
"origin": {
"type": "string"
},
"originRef": {
"type": "string"
},
"requestSource": {
"type": "string"
},
"requestedByUserId": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"sourceRetracted": {
"type": "boolean"
},
"conversationId": {
"type": "string"
},
"requestMessageId": {
"type": "string"
},
"discussionConversationId": {
"type": "string"
},
"sourceRef": {
"type": "string"
},
"sourceUrl": {
"type": "string"
},
"sourceCreatedAt": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next": {
"type": "string"
}
},
"required": [
"items"
],
"additionalProperties": true
}List visitor messages
Read the transcript of one VISITOR conversation — a person chatting with the website's live-chat widget or texting the site's number (NOT the owner's own conversation with Site Star; use list_messages for that). visitorConversationId comes from the site's inbox (site events of kind 'conversation'). Newest first by default; pass order=asc for reading order. Each message says who wrote it: the visitor, the site's automated agent, or a person replying from the dashboard.
- HTTP:
GET /sites/{siteId}/visitor-conversations/{visitorConversationId}/messages - MCP:
list_visitor_messages
Required permissions: invoke.sitestar:list-visitor-conversation-messages. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
visitorConversationId | string | Yes | The VISITOR conversation's id — the ULID after 'conversation:' in the inbox event id. Not the owner's own conversation. |
limit | integer / string | No | Messages per page, up to 100 (default 50). |
next | string | No | Opaque cursor from the previous page. |
order | string | No | desc (default) newest first; asc oldest first. Allowed: "asc", "desc". |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"visitorConversationId"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"visitorConversationId": {
"type": "string",
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$",
"description": "The VISITOR conversation's id — the ULID after 'conversation:' in the inbox event id. Not the owner's own conversation."
},
"limit": {
"type": [
"integer",
"string"
],
"description": "Messages per page, up to 100 (default 50)."
},
"next": {
"type": "string",
"maxLength": 2048,
"description": "Opaque cursor from the previous page."
},
"order": {
"type": "string",
"enum": [
"asc",
"desc"
],
"description": "desc (default) newest first; asc oldest first."
}
}
}Result schema
json
{
"type": "object",
"required": [
"conversationId",
"agentMode",
"channel",
"status",
"closedReason",
"handoff",
"lastOwnerMessageAt",
"items"
],
"additionalProperties": false,
"properties": {
"conversationId": {
"type": "string"
},
"agentMode": {
"type": "string",
"description": "'auto' — the site's agent is replying; 'paused' — a person has taken over and the agent stays silent."
},
"channel": {
"type": "string",
"description": "How the visitor reached the site: chat (widget) or sms."
},
"status": {
"type": "string",
"description": "'active' or 'closed'."
},
"closedReason": {
"type": "string",
"enum": [
"",
"turn_limit",
"agent_ended",
"owner",
"idle"
],
"description": "Why a closed conversation closed: the 20-message cap, the agent ending it, a person, or 30 minutes with no message (web only); empty while open."
},
"handoff": {
"type": "object",
"description": "Agent-initiated handoff. state 'requested' means the site's agent paused itself and asked for a person — reason and summary say why; 'offered' means it suggested one; 'none' otherwise.",
"required": [
"state",
"reason",
"summary",
"offeredAt",
"requestedAt",
"pauseOrigin"
],
"additionalProperties": false,
"properties": {
"state": {
"type": "string",
"enum": [
"none",
"offered",
"requested"
]
},
"reason": {
"type": "string",
"enum": [
"",
"visitor_requested",
"out_of_scope",
"action_not_supported",
"complaint",
"unable_to_help"
],
"description": "Why the agent handed off; empty when it has not."
},
"summary": {
"type": "string",
"description": "The agent's short account of what the visitor needs; empty when no handoff."
},
"offeredAt": {
"type": "string"
},
"requestedAt": {
"type": "string"
},
"pauseOrigin": {
"type": "string",
"enum": [
"",
"owner",
"agent_handoff"
],
"description": "Who paused the agent: a person from the inbox, or the agent's own handoff."
}
}
},
"lastOwnerMessageAt": {
"type": "string",
"description": "When a person last replied from the inbox (ISO 8601); empty when never. Compare with handoff.requestedAt to answer 'is anyone waiting on me?'."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"role",
"content",
"created",
"kind",
"author"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"role": {
"type": "string",
"description": "'user' is the visitor; 'assistant' is the site's agent or the owner (see author); 'tool' is an action or lookup the agent performed (see kind/tool)."
},
"content": {
"type": "string"
},
"created": {
"type": "string"
},
"author": {
"type": "string",
"enum": [
"visitor",
"agent",
"owner"
],
"description": "Who wrote it: the visitor, the site's automated agent, or a person replying from the dashboard."
},
"kind": {
"type": "string",
"enum": [
"message",
"tool"
],
"description": "'message' — someone said something (content is the words); 'tool' — the site's agent DID something (content is a one-line label; see tool)."
},
"tool": {
"type": "object",
"description": "Present on kind 'tool': the action or lookup the agent performed. display 'action' means the visitor saw it (a request sent to the team, an email, a handoff, the conversation ended); 'activity' is a lookup only staff see.",
"required": [
"name",
"outcome",
"display",
"isError",
"input"
],
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"outcome": {
"type": "string",
"description": "For actions: submitted, already_submitted, sent, already_sent, requested, offer_recorded, ended, unavailable, …; empty for lookups."
},
"display": {
"type": "string",
"enum": [
"action",
"activity"
]
},
"isError": {
"type": "boolean"
},
"input": {
"type": "object",
"description": "The retained arguments the agent passed."
},
"output": {
"description": "The retained result; never page text or images."
},
"provider": {
"type": "string"
},
"model": {
"type": "string"
}
}
},
"authorName": {
"type": "string",
"description": "The person's display name on owner messages."
},
"authorId": {
"type": "string",
"description": "Opaque id of the dashboard user who sent an owner message."
},
"channel": {
"type": "string",
"description": "Transport the message moved on (chat, sms, dashboard), when recorded."
},
"attachments": {
"type": "array",
"description": "Photos the visitor sent with this message by MMS. Each url is a short-lived signed link minted for this read; fetch it now, never store it.",
"items": {
"type": "object",
"required": [
"id",
"contentType",
"url"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"contentType": {
"type": "string",
"description": "image/jpeg, image/png, image/gif, or image/webp."
},
"url": {
"type": "string"
}
}
}
}
}
}
},
"next": {
"type": "string"
}
}
}Promote idea
Promote a proposed site idea into a customer task. Returns an acknowledgment; promotion completes asynchronously.
- HTTP:
POST /sites/{siteId}/ideas/{ideaId}/promote - MCP:
promote_idea
Required permissions: invoke.sitestar:promote-idea. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
ideaId | string | Yes |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"ideaId"
],
"additionalProperties": false,
"description": "Turn a proposed idea into a task. Completion is asynchronous. Returns 409 NOT_PROPOSED when the idea is not eligible, 409 SOURCE_MISSING when its source is unavailable, or 404 NOT_FOUND for an unknown idea.",
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"ideaId": {
"type": "string",
"minLength": 1
}
}
}Result schema
json
{
"type": "object",
"required": [
"status",
"sourceUrl"
],
"description": "Acknowledgment only (REST surface returns it as 202): the issue relabel succeeded and the task materializes asynchronously through the mirror projection pipeline.",
"properties": {
"status": {
"const": "promoting",
"description": "The idea's transitional status after the accepted promote."
},
"sourceUrl": {
"type": "string",
"format": "uri",
"description": "HTML URL of the idea's source GitHub issue."
}
}
}Read page
Read one published page's content as clean text, by route (e.g. '/', '/about', '/blog/my-post'). Reflects the currently deployed site, not pending changes.
- HTTP:
GET /sites/{siteId}/page - MCP:
read_page
Required permissions: invoke.sitestar:read-page. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
route | string | Yes | Page route path starting with '/'. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"route"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"route": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Page route path starting with '/'."
}
}
}Result schema
json
{
"type": "object",
"required": [
"route",
"source",
"content"
],
"properties": {
"route": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"markdown",
"html-extract"
],
"description": "markdown = clean mirror; html-extract = stripped prerendered HTML."
},
"content": {
"type": "string"
}
}
}Remove contact
Permanently remove one contact by id from list_contacts. They stop hearing from the site and lose any power to command it. To pause someone instead, use set_contact_status. A contact's email cannot be edited, so changing it means removing the contact and adding them again.
- HTTP:
DELETE /sites/{siteId}/contacts/{id} - MCP:
remove_contact
Required permissions: site_contact:delete. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The SiteContact siteId to delete |
id | string | Yes | The SiteContact id to delete |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"description": "The SiteContact siteId to delete"
},
"id": {
"type": "string",
"description": "The SiteContact id to delete"
}
},
"required": [
"siteId",
"id"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"deleted": {
"type": "boolean"
}
},
"required": [
"deleted"
],
"additionalProperties": true
}Remove domain
Detach a custom hostname from a site.
- HTTP:
DELETE /sites/{siteId}/domains/{domain} - MCP:
remove_domain
Required permissions: invoke.sitestar:remove-domain. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The site to detach the hostname from. |
domain | string | Yes | The custom hostname to detach. |
Input schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1,
"description": "The site to detach the hostname from."
},
"domain": {
"type": "string",
"minLength": 1,
"description": "The custom hostname to detach."
}
},
"required": [
"siteId",
"domain"
]
}Result schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"success": {
"type": "boolean",
"const": true
}
},
"required": [
"success"
]
}Remove redirect
Remove one redirect rule by id from list_redirects. Its from path stops redirecting at the site's next publish and rebuild.
- HTTP:
DELETE /sites/{siteId}/redirects/{id} - MCP:
remove_redirect
Required permissions: site_redirect:delete. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The SiteRedirect siteId to delete |
id | string | Yes | The SiteRedirect id to delete |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"description": "The SiteRedirect siteId to delete"
},
"id": {
"type": "string",
"description": "The SiteRedirect id to delete"
}
},
"required": [
"siteId",
"id"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"deleted": {
"type": "boolean"
}
},
"required": [
"deleted"
],
"additionalProperties": true
}Request build revision
Send a site build's draft back to the builder with feedback. Only valid while a draft is under review (build status 'in-review'). Increments the revision round; the counter is computed server-side and cannot be supplied by the caller.
- HTTP:
POST /sites/{siteId}/builds/{buildId}/revision - MCP:
request_build_revision
Required permissions: invoke.sitestar:request-build-revision. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
buildId | string | No | Optional; defaults to the site's current build. |
note | string | No | What the customer wants changed. |
Input schema
json
{
"type": "object",
"required": [
"siteId"
],
"additionalProperties": false,
"description": "Request changes to the draft under review. buildId defaults to the site's current build. Rejected with 409 build-not-in-review when no draft is awaiting review, and 403 when there is no authenticated user.",
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"buildId": {
"type": "string",
"minLength": 1,
"description": "Optional; defaults to the site's current build."
},
"note": {
"type": "string",
"maxLength": 2000,
"description": "What the customer wants changed."
}
}
}Result schema
json
{
"type": "object",
"description": "The build row, now in status 'revising'.",
"required": [
"id",
"siteId",
"status",
"created",
"modified"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"status": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"builderName": {
"type": "string"
},
"assignedAt": {
"type": "string"
},
"draftPromisedAt": {
"type": "string"
},
"draftDeliveredAt": {
"type": "string"
},
"draftConfigVersion": {
"type": "string"
},
"intakeCompletedAt": {
"type": "string"
},
"revisionCount": {
"type": "number"
},
"revisionRequestedAt": {
"type": "string"
},
"revisionNote": {
"type": "string"
},
"approvedAt": {
"type": "string"
},
"approvedByUserId": {
"type": "string"
},
"consultationState": {
"type": "string"
},
"consultationAt": {
"type": "string"
}
}
}Send message
Send a user message into a site conversation. The assistant reply is generated asynchronously — poll list-messages. idempotencyKey makes retries safe.
- HTTP:
POST /conversations/{conversationId}/messages - MCP:
send_message
Required permissions: invoke.sitestar:send-message. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
conversationId | string | Yes | Conversation to append to (formerly the path parameter). |
siteId | string | Yes | Site that owns the conversation. |
content | string | No | Message body. May be blank when attachmentIds is non-empty. Role is always 'user'; assistant/system roles cannot be forged through this operation. |
idempotencyKey | string | No | Optional client retry token; retries carrying the same key return the original message instead of duplicating it. |
attachmentIds | array | No | Optional site-upload file ids to attach. Files must belong to this site and be ready. |
Input schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"conversationId",
"siteId"
],
"anyOf": [
{
"required": [
"content"
]
},
{
"required": [
"attachmentIds"
]
}
],
"properties": {
"conversationId": {
"type": "string",
"minLength": 1,
"description": "Conversation to append to (formerly the path parameter)."
},
"siteId": {
"type": "string",
"minLength": 1,
"description": "Site that owns the conversation."
},
"content": {
"type": "string",
"maxLength": 10000,
"description": "Message body. May be blank when attachmentIds is non-empty. Role is always 'user'; assistant/system roles cannot be forged through this operation."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Optional client retry token; retries carrying the same key return the original message instead of duplicating it."
},
"attachmentIds": {
"type": "array",
"maxItems": 10,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
},
"description": "Optional site-upload file ids to attach. Files must belong to this site and be ready."
}
}
}Result schema
json
{
"type": "object",
"additionalProperties": false,
"required": [
"messageId",
"dialogueId",
"conversationId",
"created",
"queued",
"deduplicated"
],
"properties": {
"messageId": {
"type": "string"
},
"dialogueId": {
"type": "string"
},
"conversationId": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"queued": {
"type": "boolean",
"description": "Whether the message entered the LLM-reply lifecycle (false = enqueue optimization failed; the stream path still drives it)."
},
"deduplicated": {
"type": "boolean",
"description": "True when an idempotent retry matched an already-stored message."
}
}
}Send visitor message
Reply to a VISITOR in one of the website's live-chat or SMS conversations, as the business. The visitor sees it in their chat widget immediately, or as a text message for SMS conversations. Use this only when the owner has told you what to say to that visitor; it does not pause the site's automated agent — call set_visitor_chat_mode with agentMode=paused first if the owner wants to handle the conversation alone.
- HTTP:
POST /sites/{siteId}/visitor-conversations/{visitorConversationId}/messages - MCP:
send_visitor_message
Required permissions: invoke.sitestar:send-visitor-conversation-message. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
visitorConversationId | string | Yes | |
content | string | Yes | The reply, as the visitor should read it. |
idempotencyKey | string | No | Retry token: the same key with the same content never sends twice. When omitted it is derived from the conversation, the sender, and the content, so a retried call is safe and a different message still goes through. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"visitorConversationId",
"content"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"visitorConversationId": {
"type": "string",
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
},
"content": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"description": "The reply, as the visitor should read it."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Retry token: the same key with the same content never sends twice. When omitted it is derived from the conversation, the sender, and the content, so a retried call is safe and a different message still goes through."
}
}
}Result schema
json
{
"type": "object",
"required": [
"conversationId",
"message",
"deduplicated",
"sms"
],
"additionalProperties": false,
"properties": {
"conversationId": {
"type": "string"
},
"message": {
"type": "object",
"required": [
"id",
"role",
"content",
"created",
"kind",
"author"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"role": {
"type": "string",
"description": "'user' is the visitor; 'assistant' is the site's agent or the owner (see author); 'tool' is an action or lookup the agent performed (see kind/tool)."
},
"content": {
"type": "string"
},
"created": {
"type": "string"
},
"author": {
"type": "string",
"enum": [
"visitor",
"agent",
"owner"
],
"description": "Who wrote it: the visitor, the site's automated agent, or a person replying from the dashboard."
},
"kind": {
"type": "string",
"enum": [
"message",
"tool"
],
"description": "'message' — someone said something (content is the words); 'tool' — the site's agent DID something (content is a one-line label; see tool)."
},
"tool": {
"type": "object",
"description": "Present on kind 'tool': the action or lookup the agent performed. display 'action' means the visitor saw it (a request sent to the team, an email, a handoff, the conversation ended); 'activity' is a lookup only staff see.",
"required": [
"name",
"outcome",
"display",
"isError",
"input"
],
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"outcome": {
"type": "string",
"description": "For actions: submitted, already_submitted, sent, already_sent, requested, offer_recorded, ended, unavailable, …; empty for lookups."
},
"display": {
"type": "string",
"enum": [
"action",
"activity"
]
},
"isError": {
"type": "boolean"
},
"input": {
"type": "object",
"description": "The retained arguments the agent passed."
},
"output": {
"description": "The retained result; never page text or images."
},
"provider": {
"type": "string"
},
"model": {
"type": "string"
}
}
},
"authorName": {
"type": "string",
"description": "The person's display name on owner messages."
},
"authorId": {
"type": "string",
"description": "Opaque id of the dashboard user who sent an owner message."
},
"channel": {
"type": "string",
"description": "Transport the message moved on (chat, sms, dashboard), when recorded."
}
}
},
"deduplicated": {
"type": "boolean",
"description": "True when the idempotencyKey matched an earlier send; nothing new went out."
},
"sms": {
"type": "object",
"required": [
"status"
],
"additionalProperties": false,
"properties": {
"status": {
"type": "string",
"enum": [
"not_applicable",
"sent",
"failed"
],
"description": "Text delivery for SMS conversations: not_applicable for web chat, sent when the carrier accepted the text, failed when it did not (see reason)."
},
"providerMessageId": {
"type": "string"
},
"reason": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
}
}
}
}Set chat handoff enabled
Choose whether the site's public chat assistant may hand a visitor conversation to the owner's team (chatHandoffEnabled). When on, the chat assistant can pause itself and email the contacts who receive notifications. When off, it keeps answering visitors on its own. On by default.
- HTTP:
PATCH /sites/{id}/chat-handoff - MCP:
set_chat_handoff_enabled
Required permissions: site:update.set-chat-handoff-enabled. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The Site id to update |
chatHandoffEnabled | boolean | Yes | Whether the site's chat assistant may hand a visitor conversation to your team (it pauses itself and emails your notification contacts). On by default; switch it off to keep the assistant answering on its own. Contacts who receive notifications are the recipients; with none, the assistant will not offer a follow-up. |
Input schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Site id to update"
},
"chatHandoffEnabled": {
"type": "boolean",
"description": "Whether the site's chat assistant may hand a visitor conversation to your team (it pauses itself and emails your notification contacts). On by default; switch it off to keep the assistant answering on its own. Contacts who receive notifications are the recipients; with none, the assistant will not offer a follow-up."
}
},
"required": [
"id",
"chatHandoffEnabled"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string"
},
"name": {
"type": "string"
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"onboardingDomain": {
"type": "string"
},
"status": {
"type": "string"
},
"activeConfigVersion": {
"type": "string"
},
"coreVersion": {
"type": "string"
},
"hostingMode": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"timezone": {
"type": "string"
},
"setupJobId": {
"type": "string"
},
"launchLockAt": {
"type": "string"
},
"transferLock": {
"type": "string"
},
"transferredAt": {
"type": "string"
},
"archivedAt": {
"type": "string"
},
"activatedAt": {
"type": "string"
},
"activationReason": {
"type": "string"
},
"privateMode": {
"type": "boolean"
},
"geoBlocking": {
"type": "string"
},
"smsEnabled": {
"type": "boolean"
},
"chatSmsEnabled": {
"type": "boolean"
},
"chatHandoffEnabled": {
"type": "boolean"
},
"blockedCountries": {
"type": "array"
},
"screenshot": {
"type": "object"
},
"icon": {
"type": "object"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"planId": {
"type": "string"
},
"planStatus": {
"type": "string"
},
"planLimits": {
"type": "object"
},
"subscriptionStatus": {
"type": "string"
},
"currentPeriodEnd": {
"type": "string"
},
"stampVersion": {
"type": "string"
}
},
"additionalProperties": true
}Set chat SMS enabled
Pause or resume the visitor-facing text number that live chat continues on (chatSmsEnabled). It only switches a number Site Star support already set up: turning it on without one is refused with PUBLIC_SMS_NOT_PROVISIONED and nothing changes. get_chat_sms_sender shows whether a number exists.
- HTTP:
PATCH /sites/{id}/chat-sms - MCP:
set_chat_sms_enabled
Required permissions: site:update.set-chat-sms-enabled. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The Site id to update |
chatSmsEnabled | boolean | Yes | Whether the site's visitor-facing text number (live-chat SMS) is on. The number is set up by Sitestar support; this pauses/resumes it and is refused when none exists. |
Input schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Site id to update"
},
"chatSmsEnabled": {
"type": "boolean",
"description": "Whether the site's visitor-facing text number (live-chat SMS) is on. The number is set up by Sitestar support; this pauses/resumes it and is refused when none exists."
}
},
"required": [
"id",
"chatSmsEnabled"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string"
},
"name": {
"type": "string"
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"onboardingDomain": {
"type": "string"
},
"status": {
"type": "string"
},
"activeConfigVersion": {
"type": "string"
},
"coreVersion": {
"type": "string"
},
"hostingMode": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"timezone": {
"type": "string"
},
"setupJobId": {
"type": "string"
},
"launchLockAt": {
"type": "string"
},
"transferLock": {
"type": "string"
},
"transferredAt": {
"type": "string"
},
"archivedAt": {
"type": "string"
},
"activatedAt": {
"type": "string"
},
"activationReason": {
"type": "string"
},
"privateMode": {
"type": "boolean"
},
"geoBlocking": {
"type": "string"
},
"smsEnabled": {
"type": "boolean"
},
"chatSmsEnabled": {
"type": "boolean"
},
"chatHandoffEnabled": {
"type": "boolean"
},
"blockedCountries": {
"type": "array"
},
"screenshot": {
"type": "object"
},
"icon": {
"type": "object"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"planId": {
"type": "string"
},
"planStatus": {
"type": "string"
},
"planLimits": {
"type": "object"
},
"subscriptionStatus": {
"type": "string"
},
"currentPeriodEnd": {
"type": "string"
},
"stampVersion": {
"type": "string"
}
},
"additionalProperties": true
}Set contact name
Update a contact’s name.
- HTTP:
PATCH /sites/{siteId}/contacts/{id}/name
Required permissions: site_contact:update.set-name. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The SiteContact siteId to update |
id | string | Yes | The SiteContact id to update |
name | string | Yes | Display name for the contact (optional). |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"description": "The SiteContact siteId to update"
},
"id": {
"type": "string",
"description": "The SiteContact id to update"
},
"name": {
"type": "string",
"description": "Display name for the contact (optional).",
"maxLength": 200
}
},
"required": [
"siteId",
"id",
"name"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"receivesNotifications": {
"type": "boolean"
},
"receivesReports": {
"type": "boolean"
},
"canEmailSite": {
"type": "boolean"
},
"canTextSite": {
"type": "boolean"
},
"status": {
"type": "string"
},
"preferredChannel": {
"type": "string"
},
"preferredChannelFrom": {
"type": "string"
},
"preferredChannelThrough": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}Set contact notifications
Change one site contact's notification preferences (receivesNotifications, receivesReports) and their channel directive (preferredChannel with an optional from/through calendar window). A platform user may target any contact of the site; an authorized site contact on the agent surface may target only their own row; anyone else is refused.
- HTTP:
PATCH /sites/{siteId}/contacts/{contactId}/notifications - MCP:
set_contact_notifications
Required permissions: invoke.sitestar:set-contact-notification-prefs. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
contactId | string | Yes | The contact's id exactly as returned by the contact list (26 uppercase characters). |
receivesNotifications | boolean | No | Whether this contact receives operational alerts and form messages. |
receivesReports | boolean | No | Whether this contact receives scheduled reports like the weekly email. |
preferredChannel | string | No | Which channel to PREFER when the site could reach this person more than one way — a tilt, not a switch: the other channel stays available. "" clears the preference and its dates. Allowed: "", "email", "sms". |
preferredChannelFrom | string | No | First day the preference applies, YYYY-MM-DD in the site's local time; omit or "" for immediately. Use it when someone says the preference starts later ("text me next week"). |
preferredChannelThrough | string | No | Last day the preference applies, YYYY-MM-DD in the site's local time; omit or "" for no end. "Text me this week, I'm out" is a through date; "just text me from now on" has none. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"contactId"
],
"additionalProperties": false,
"description": "Which contact and which flags to change. Identity comes from the trusted context only: a platform user may target any contact; an agent-surface contact only themselves (403 FORBIDDEN otherwise); system-only callers are rejected (403 UNAUTHORIZED). Provide at least one flag — an omitted flag keeps its current value.",
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"contactId": {
"type": "string",
"minLength": 1,
"pattern": "^[0-9A-F]{26}$",
"description": "The contact's id exactly as returned by the contact list (26 uppercase characters)."
},
"receivesNotifications": {
"type": "boolean",
"description": "Whether this contact receives operational alerts and form messages."
},
"receivesReports": {
"type": "boolean",
"description": "Whether this contact receives scheduled reports like the weekly email."
},
"preferredChannel": {
"type": "string",
"enum": [
"",
"email",
"sms"
],
"description": "Which channel to PREFER when the site could reach this person more than one way — a tilt, not a switch: the other channel stays available. \"\" clears the preference and its dates."
},
"preferredChannelFrom": {
"type": "string",
"pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
"description": "First day the preference applies, YYYY-MM-DD in the site's local time; omit or \"\" for immediately. Use it when someone says the preference starts later (\"text me next week\")."
},
"preferredChannelThrough": {
"type": "string",
"pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
"description": "Last day the preference applies, YYYY-MM-DD in the site's local time; omit or \"\" for no end. \"Text me this week, I'm out\" is a through date; \"just text me from now on\" has none."
}
}
}Result schema
json
{
"type": "object",
"required": [
"contactId",
"receivesNotifications",
"receivesReports",
"preferredChannel",
"preferredChannelFrom",
"preferredChannelThrough"
],
"properties": {
"contactId": {
"type": "string"
},
"receivesNotifications": {
"type": "boolean"
},
"receivesReports": {
"type": "boolean"
},
"preferredChannel": {
"type": "string"
},
"preferredChannelFrom": {
"type": "string"
},
"preferredChannelThrough": {
"type": "string"
}
}
}Set contact status
Set one contact's status by id from list_contacts. 'disabled' mutes them everywhere (no notifications, reports, or commands by text or phone) while keeping their settings; 'active' restores them. Prefer this over remove_contact for a temporary pause.
- HTTP:
PATCH /sites/{siteId}/contacts/{id}/status - MCP:
set_contact_status
Required permissions: site_contact:update.set-status. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The SiteContact siteId to update |
id | string | Yes | The SiteContact id to update |
status | string | Yes | active, or disabled (muted everywhere, settings kept). Allowed: "active", "disabled". |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"description": "The SiteContact siteId to update"
},
"id": {
"type": "string",
"description": "The SiteContact id to update"
},
"status": {
"type": "string",
"description": "active, or disabled (muted everywhere, settings kept).",
"enum": [
"active",
"disabled"
]
}
},
"required": [
"siteId",
"id",
"status"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"email": {
"type": "string"
},
"phoneNumber": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"receivesNotifications": {
"type": "boolean"
},
"receivesReports": {
"type": "boolean"
},
"canEmailSite": {
"type": "boolean"
},
"canTextSite": {
"type": "boolean"
},
"status": {
"type": "string"
},
"preferredChannel": {
"type": "string"
},
"preferredChannelFrom": {
"type": "string"
},
"preferredChannelThrough": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}Set country restrictions
Set which countries are blocked from visiting the site. geoBlocking '' restores the Site Star default list, 'off' blocks no country, and 'custom' blocks exactly blockedCountries (1 to 50 two-letter ISO codes such as ['CN','RU']) with no defaults added. A custom list replaces the previous one, so read get_site first and include every country that should stay blocked. Reaches the edge within seconds.
- HTTP:
PATCH /sites/{id}/geo-blocking - MCP:
set_geo_blocking
Required permissions: site:update.set-geo-blocking. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The Site id to update |
geoBlocking | string | Yes | Geo-blocking mode: "" = platform default, "off" = disabled, "custom" = exactly blockedCountries. Allowed: "", "off", "custom". |
blockedCountries | array | No | ISO 3166-1 alpha-2 codes blocked at the edge when geoBlocking is "custom"; empty otherwise. |
Input schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Site id to update"
},
"geoBlocking": {
"type": "string",
"description": "Geo-blocking mode: \"\" = platform default, \"off\" = disabled, \"custom\" = exactly blockedCountries.",
"enum": [
"",
"off",
"custom"
]
},
"blockedCountries": {
"type": "array",
"description": "ISO 3166-1 alpha-2 codes blocked at the edge when geoBlocking is \"custom\"; empty otherwise."
}
},
"required": [
"id",
"geoBlocking"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string"
},
"name": {
"type": "string"
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"onboardingDomain": {
"type": "string"
},
"status": {
"type": "string"
},
"activeConfigVersion": {
"type": "string"
},
"coreVersion": {
"type": "string"
},
"hostingMode": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"timezone": {
"type": "string"
},
"setupJobId": {
"type": "string"
},
"launchLockAt": {
"type": "string"
},
"transferLock": {
"type": "string"
},
"transferredAt": {
"type": "string"
},
"archivedAt": {
"type": "string"
},
"activatedAt": {
"type": "string"
},
"activationReason": {
"type": "string"
},
"privateMode": {
"type": "boolean"
},
"geoBlocking": {
"type": "string"
},
"smsEnabled": {
"type": "boolean"
},
"chatSmsEnabled": {
"type": "boolean"
},
"chatHandoffEnabled": {
"type": "boolean"
},
"blockedCountries": {
"type": "array"
},
"screenshot": {
"type": "object"
},
"icon": {
"type": "object"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"planId": {
"type": "string"
},
"planStatus": {
"type": "string"
},
"planLimits": {
"type": "object"
},
"subscriptionStatus": {
"type": "string"
},
"currentPeriodEnd": {
"type": "string"
},
"stampVersion": {
"type": "string"
}
},
"additionalProperties": true
}Set primary domain
Make an already-active hostname the site's primary domain.
- HTTP:
POST /sites/{siteId}/domains/{domain}/primary - MCP:
set_primary_domain
Required permissions: invoke.sitestar:set-primary-domain. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The site whose primary domain to repoint. |
domain | string | Yes | An already-active hostname on the site to make primary. |
Input schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1,
"description": "The site whose primary domain to repoint."
},
"domain": {
"type": "string",
"minLength": 1,
"description": "An already-active hostname on the site to make primary."
}
},
"required": [
"siteId",
"domain"
]
}Result schema
json
{
"type": "object",
"additionalProperties": false,
"properties": {
"domain": {
"type": "object",
"required": [
"domain",
"type",
"isPrimary",
"status",
"statusReason",
"verification",
"created",
"modified"
],
"properties": {
"domain": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"custom",
"platform"
]
},
"isPrimary": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"pending_dns",
"verifying",
"active",
"failed"
]
},
"statusReason": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"records"
],
"properties": {
"records": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"host",
"value"
],
"properties": {
"type": {
"type": "string"
},
"host": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"plan": {
"type": "object"
}
}
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
}
}
},
"required": [
"domain"
]
}Set redirect target
Change where an existing redirect rule points (to), by id from list_redirects. The from path cannot change: remove the rule and add a new one instead. Takes effect at the site's next publish and rebuild.
- HTTP:
PATCH /sites/{siteId}/redirects/{id}/target - MCP:
set_redirect_target
Required permissions: site_redirect:update.set-target. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The SiteRedirect siteId to update |
id | string | Yes | The SiteRedirect id to update |
to | string | Yes | Target: a site-relative path or an absolute http(s) URL. |
Input schema
json
{
"type": "object",
"properties": {
"siteId": {
"type": "string",
"description": "The SiteRedirect siteId to update"
},
"id": {
"type": "string",
"description": "The SiteRedirect id to update"
},
"to": {
"type": "string",
"description": "Target: a site-relative path or an absolute http(s) URL.",
"pattern": "^(/(?!/)\\S*|https?://\\S+)$",
"minLength": 1,
"maxLength": 512
}
},
"required": [
"siteId",
"id",
"to"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
}
},
"additionalProperties": true
}Set site privacy
Turn the site's password gate on or off (privateMode). true means visitors need the gate password (privateAuthSecret from get_site); false makes the site public. A site that has not launched stays gated regardless, so turning privacy off before launch only takes effect at launch. Reaches the edge within seconds.
- HTTP:
PATCH /sites/{id}/privacy - MCP:
set_site_privacy
Required permissions: site:update.set-privacy. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The Site id to update |
privateMode | boolean | Yes | Keep the site gated behind HTTP auth (always on until launch; optional after). |
Input schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Site id to update"
},
"privateMode": {
"type": "boolean",
"description": "Keep the site gated behind HTTP auth (always on until launch; optional after)."
}
},
"required": [
"id",
"privateMode"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string"
},
"name": {
"type": "string"
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"onboardingDomain": {
"type": "string"
},
"status": {
"type": "string"
},
"activeConfigVersion": {
"type": "string"
},
"coreVersion": {
"type": "string"
},
"hostingMode": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"timezone": {
"type": "string"
},
"setupJobId": {
"type": "string"
},
"launchLockAt": {
"type": "string"
},
"transferLock": {
"type": "string"
},
"transferredAt": {
"type": "string"
},
"archivedAt": {
"type": "string"
},
"activatedAt": {
"type": "string"
},
"activationReason": {
"type": "string"
},
"privateMode": {
"type": "boolean"
},
"geoBlocking": {
"type": "string"
},
"smsEnabled": {
"type": "boolean"
},
"chatSmsEnabled": {
"type": "boolean"
},
"chatHandoffEnabled": {
"type": "boolean"
},
"blockedCountries": {
"type": "array"
},
"screenshot": {
"type": "object"
},
"icon": {
"type": "object"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"planId": {
"type": "string"
},
"planStatus": {
"type": "string"
},
"planLimits": {
"type": "object"
},
"subscriptionStatus": {
"type": "string"
},
"currentPeriodEnd": {
"type": "string"
},
"stampVersion": {
"type": "string"
}
},
"additionalProperties": true
}Set site timezone
Update a Site using set timezone
- HTTP:
PATCH /sites/{id}/timezone
Required permissions: site:update.set-timezone. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The Site id to update |
timezone | string | Yes | IANA timezone the site's local-hour schedules run in (e.g. America/Chicago). |
Input schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Site id to update"
},
"timezone": {
"type": "string",
"description": "IANA timezone the site's local-hour schedules run in (e.g. America/Chicago).",
"pattern": "^[A-Za-z_]+(?:/[A-Za-z0-9_+\\-]+)*$",
"maxLength": 64
}
},
"required": [
"id",
"timezone"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string"
},
"name": {
"type": "string"
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"onboardingDomain": {
"type": "string"
},
"status": {
"type": "string"
},
"activeConfigVersion": {
"type": "string"
},
"coreVersion": {
"type": "string"
},
"hostingMode": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"timezone": {
"type": "string"
},
"setupJobId": {
"type": "string"
},
"launchLockAt": {
"type": "string"
},
"transferLock": {
"type": "string"
},
"transferredAt": {
"type": "string"
},
"archivedAt": {
"type": "string"
},
"activatedAt": {
"type": "string"
},
"activationReason": {
"type": "string"
},
"privateMode": {
"type": "boolean"
},
"geoBlocking": {
"type": "string"
},
"smsEnabled": {
"type": "boolean"
},
"chatSmsEnabled": {
"type": "boolean"
},
"chatHandoffEnabled": {
"type": "boolean"
},
"blockedCountries": {
"type": "array"
},
"screenshot": {
"type": "object"
},
"icon": {
"type": "object"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"planId": {
"type": "string"
},
"planStatus": {
"type": "string"
},
"planLimits": {
"type": "object"
},
"subscriptionStatus": {
"type": "string"
},
"currentPeriodEnd": {
"type": "string"
},
"stampVersion": {
"type": "string"
}
},
"additionalProperties": true
}Set SMS enabled
Turn texting the site's assistant on or off (smsEnabled). On resumes the site's paused number or buys a new one; off pauses the number without releasing it. Turning it on needs a paid site plan (refused with PAYMENT_REQUIRED) and room in the plan (LIMIT_EXCEEDED). Any failure leaves the setting unchanged. After turning it on, list_inbound_addresses shows the number.
- HTTP:
PATCH /sites/{id}/sms - MCP:
set_sms_enabled
Required permissions: site:update.set-sms-enabled. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The Site id to update |
smsEnabled | boolean | Yes | Whether contacts can text this site's assistant. Enabling provisions (or resumes) the site's phone number; disabling pauses it. |
Input schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Site id to update"
},
"smsEnabled": {
"type": "boolean",
"description": "Whether contacts can text this site's assistant. Enabling provisions (or resumes) the site's phone number; disabling pauses it."
}
},
"required": [
"id",
"smsEnabled"
],
"additionalProperties": false
}Result schema
json
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"siteKey": {
"type": "string"
},
"name": {
"type": "string"
},
"primaryDomain": {
"type": [
"string",
"null"
]
},
"onboardingDomain": {
"type": "string"
},
"status": {
"type": "string"
},
"activeConfigVersion": {
"type": "string"
},
"coreVersion": {
"type": "string"
},
"hostingMode": {
"type": "string"
},
"reviewPolicy": {
"type": "string"
},
"timezone": {
"type": "string"
},
"setupJobId": {
"type": "string"
},
"launchLockAt": {
"type": "string"
},
"transferLock": {
"type": "string"
},
"transferredAt": {
"type": "string"
},
"archivedAt": {
"type": "string"
},
"activatedAt": {
"type": "string"
},
"activationReason": {
"type": "string"
},
"privateMode": {
"type": "boolean"
},
"geoBlocking": {
"type": "string"
},
"smsEnabled": {
"type": "boolean"
},
"chatSmsEnabled": {
"type": "boolean"
},
"chatHandoffEnabled": {
"type": "boolean"
},
"blockedCountries": {
"type": "array"
},
"screenshot": {
"type": "object"
},
"icon": {
"type": "object"
},
"created": {
"type": "string"
},
"modified": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"planId": {
"type": "string"
},
"planStatus": {
"type": "string"
},
"planLimits": {
"type": "object"
},
"subscriptionStatus": {
"type": "string"
},
"currentPeriodEnd": {
"type": "string"
},
"stampVersion": {
"type": "string"
}
},
"additionalProperties": true
}Set task notifications
Enable or disable ONE contact's notification route for ONE task, per channel (email or sms). The destination is always the address on the contact's row — a caller can never supply an address. Disabling turns off every route that contact holds on that channel for the task, and thread participation can never silently re-enable it; only an explicit enable can. Enabling refuses with the blocker named when it would be a dead switch: NO_EMAIL_ON_RECORD / NO_PHONE_ON_RECORD (address missing on the contact), NOTIFICATIONS_DISABLED (the contact's global receivesNotifications is off), CONTACT_DISABLED, SMS_PAUSED (site texting turned off), SMS_NOT_PROVISIONED (site has no text number). A platform user may target any contact; an authorized site contact on the agent surface may target only their own routes; anyone else is refused.
- HTTP:
PATCH /sites/{siteId}/tasks/{taskId}/notifications - MCP:
set_task_notifications
Required permissions: invoke.sitestar:set-task-notifications. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
taskId | string | Yes | The task's id exactly as returned by the task list. |
contactId | string | Yes | The contact's id exactly as returned by the contact list (26 uppercase characters). |
channel | string | Yes | Allowed: "email", "sms". |
enabled | boolean | Yes | true subscribes the contact's on-record address for this channel; false disables every route they hold on it for this task. |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"taskId",
"contactId",
"channel",
"enabled"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"taskId": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "The task's id exactly as returned by the task list."
},
"contactId": {
"type": "string",
"minLength": 1,
"pattern": "^[0-9A-F]{26}$",
"description": "The contact's id exactly as returned by the contact list (26 uppercase characters)."
},
"channel": {
"type": "string",
"enum": [
"email",
"sms"
]
},
"enabled": {
"type": "boolean",
"description": "true subscribes the contact's on-record address for this channel; false disables every route they hold on it for this task."
}
}
}Result schema
json
{
"type": "object",
"required": [
"taskId",
"contactId",
"channel",
"enabled",
"changed",
"routes"
],
"properties": {
"taskId": {
"type": "string"
},
"contactId": {
"type": "string"
},
"channel": {
"type": "string",
"enum": [
"email",
"sms"
]
},
"enabled": {
"type": "boolean"
},
"destination": {
"type": "string",
"description": "The address the route now points at; present only when enabling."
},
"changed": {
"type": "boolean",
"description": "False when the call was a no-op — the routes were already in the requested state."
},
"routes": {
"type": "array",
"description": "The task's full route list after the change, same shape as get-task-notifications.",
"items": {
"type": "object",
"required": [
"subscriptionId",
"channel",
"destination",
"status",
"origin"
],
"properties": {
"subscriptionId": {
"type": "string"
},
"channel": {
"type": "string",
"enum": [
"email",
"sms",
"webhook"
]
},
"destination": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"disabled"
]
},
"origin": {
"type": "string",
"enum": [
"request",
"participation",
"explicit"
]
},
"contactId": {
"type": "string"
}
}
}
}
}
}Set task status
Transition a task to a new product status. Repeating the current status is idempotent and does not advance transition identity.
- HTTP:
PATCH /sites/{siteId}/tasks/{id}/status - MCP:
set_task_status
Required permissions: invoke.sitestar:transition-task. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
id | string | Yes | |
status | string | Yes | Allowed: "requested", "working", "done", "live", "failed", "canceled". |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"id",
"status"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"enum": [
"requested",
"working",
"done",
"live",
"failed",
"canceled"
]
}
}
}Result schema
json
{
"type": "object",
"required": [
"id",
"siteId",
"status",
"statusChangedAt"
],
"properties": {
"id": {
"type": "string"
},
"siteId": {
"type": "string"
},
"status": {
"type": "string"
},
"statusChangedAt": {
"type": "string"
}
}
}Set visitor chat mode
Take a visitor conversation over from the website's automated agent (agentMode=paused: the agent stops replying and a person answers via send_visitor_message) or hand it back (agentMode=auto). Visitors keep being able to write either way; paused only changes who answers.
- HTTP:
PATCH /sites/{siteId}/visitor-conversations/{visitorConversationId}/agent-mode - MCP:
set_visitor_chat_mode
Required permissions: invoke.sitestar:set-visitor-conversation-agent-mode. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
visitorConversationId | string | Yes | |
agentMode | string | Yes | Allowed: "auto", "paused". |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"visitorConversationId",
"agentMode"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"visitorConversationId": {
"type": "string",
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
},
"agentMode": {
"type": "string",
"enum": [
"auto",
"paused"
]
}
}
}Result schema
json
{
"type": "object",
"required": [
"conversationId",
"agentMode",
"status"
],
"additionalProperties": false,
"properties": {
"conversationId": {
"type": "string"
},
"agentMode": {
"type": "string",
"enum": [
"auto",
"paused"
]
},
"status": {
"type": "string"
}
}
}Update site config
Update a site's configuration. Accepts either a section import (subset of the canonical config.json; each section replaces its slot) or a flat dotted-path map (assigned at the addressed path, so an object value replaces everything under it; null deletes; max 100 paths). Never mix the two forms. Call get-site-config first to read the current values and contractId. Call describe-site-config only when you have not already read that contractId; request only the schema sections you will modify, plus the catalog when changing automations.
- HTTP:
PUT /sites/{siteId}/config - MCP:
update_site_config
Required permissions: invoke.sitestar:update-site-config. Role grants may satisfy these through wildcards.
| Input | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | |
config | object | Yes | The patch document, one of two forms never mixed in one request: a section import (any subset of the canonical config.json document, e.g. { "content": { "brand": {...} } }; each supplied section replaces its setting slot wholesale) OR a dotted-path map (a flat map of editable config.json paths, e.g. { "content.brand.voice.prohibitedTerms": [...] }; each edit is merged into the stored slot, null deletes a field, at most 100 paths per request). |
Input schema
json
{
"type": "object",
"required": [
"siteId",
"config"
],
"additionalProperties": false,
"properties": {
"siteId": {
"type": "string",
"minLength": 1
},
"config": {
"type": "object",
"description": "The patch document, one of two forms never mixed in one request: a section import (any subset of the canonical config.json document, e.g. { \"content\": { \"brand\": {...} } }; each supplied section replaces its setting slot wholesale) OR a dotted-path map (a flat map of editable config.json paths, e.g. { \"content.brand.voice.prohibitedTerms\": [...] }; each edit is merged into the stored slot, null deletes a field, at most 100 paths per request)."
}
}
}Result schema
json
{
"type": "object",
"required": [
"siteId",
"applied",
"config"
],
"properties": {
"siteId": {
"type": "string"
},
"applied": {
"type": "array",
"items": {
"type": "string"
},
"description": "Section-import mode: the setting slots written, preceded by any site-row setting written (site.timezone). Dotted-path mode: the dotted config paths applied, in request order."
},
"config": {
"type": "object",
"description": "The resulting configuration, pruned to the editable surface (the same view get-site-config returns, site-row settings included), plus, for a section import, the redirects and preferredCoreVersion it wrote, as stored (redirect map normalized, pin verbatim). A request that touched only site-row settings returns just those."
}
}
}
