Skip to content

MCP tool reference

The hosted server advertises and serves the v31 MCP runtime contract with exactly 37 tools for product knowledge, account and workspace settings, scenarios, campaigns, operations, and Intelligence. The v31 artifact tree publishes that surface alongside the webhook catalog. Input and output objects are closed unless a referenced schema explicitly says otherwise.

Scope: campaign:unpublish

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Prepare ACTIVE to DRAFT for explicit human approval in Betterstood. Stops new collection and preserves results and access settings. Scheduled callbacks require cancelScheduledCallbacks and appear in the approved preview; in-flight dispatch blocks the operation. Show approvalUrl in a progress message and call betterstood_operation_wait. After the job succeeds, edit the scenario, prepare its channel, review and prepare publication again. Every active campaign sharing the scenario must first be unpublished or use a cloned scenario.

Example input
{
"campaignKey": "solar-consultation",
"cancelScheduledCallbacks": false,
"expectedRevision": 3,
"idempotencyKey": "unpublish-solar-20261116",
"maximumCredits": 0
}
Example output
{
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"campaignKey": "solar-consultation",
"campaignName": "Solar consultation",
"campaignRevision": 3,
"changes": [
{
"after": "DRAFT",
"before": "ACTIVE",
"field": "status"
}
],
"cost": {
"billingMode": "included",
"collectionBilledSeparately": true,
"estimated": 0,
"maximum": 0,
"unit": "credits"
},
"effects": [
"stop_new_collection"
],
"kind": "campaign_unpublish",
"scenarioId": "scenario_01",
"scenarioRevision": 2,
"scheduledCallbackCount": 0
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "awaiting_approval",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
},
"replayed": false
}

Scope: campaign:publish

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Validate and prepare a campaign publication for authenticated human approval in Betterstood. This does not change access mode, publish immediately, or approve anything. Approval expires after 15 minutes; show approvalUrl and call betterstood_operation_wait without requiring a done message.

Example input
{
"campaignKey": "solar-consultation",
"expectedRevision": 3,
"idempotencyKey": "publish-solar-20261109",
"maximumCredits": 0
}
Example output
{
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"campaignKey": "solar-consultation",
"campaignName": "Solar consultation",
"campaignRevision": 3,
"changes": [
{
"after": "ACTIVE",
"before": "DRAFT",
"field": "status"
}
],
"cost": {
"billingMode": "included",
"collectionBilledSeparately": true,
"estimated": 0,
"maximum": 0,
"unit": "credits"
},
"effects": [
"activate_campaign"
],
"kind": "campaign_publish",
"scenarioId": "scenario_01",
"scenarioRevision": 2
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "awaiting_approval",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
},
"replayed": false
}

Scope: campaign:access

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Prepare a separate approved change to public access. Enabling public access does not activate a draft. Disabling it revokes access sessions and invites and requires password setup in Betterstood. No access credential is returned. Show approvalUrl and call betterstood_operation_wait.

Example input
{
"campaignKey": "solar-consultation",
"expectedRevision": 3,
"idempotencyKey": "access-solar-20261109",
"maximumCredits": 0,
"publicAccess": true
}
Example output
{
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"campaignKey": "solar-consultation",
"campaignName": "Solar consultation",
"campaignRevision": 3,
"changes": [
{
"after": "PUBLIC_WEB",
"before": "PASSWORD",
"field": "accessMode"
}
],
"cost": {
"billingMode": "included",
"collectionBilledSeparately": true,
"estimated": 0,
"maximum": 0,
"unit": "credits"
},
"effects": [
"allow_public_collection_when_active",
"revoke_existing_access_sessions_and_invites"
],
"kind": "campaign_access",
"scenarioId": "scenario_01",
"scenarioRevision": 2
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "awaiting_approval",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
},
"replayed": false
}

Scope: campaign:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Read a preview, approval state, and job result belonging to this exact connection. The operation-specific effect scope and current role/entitlement are also required. For automatic continuation after showing approvalUrl, use betterstood_operation_wait. This read does not execute a job.

Example input
{
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b"
}
Example output
{
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"campaignKey": "solar-consultation",
"campaignName": "Solar consultation",
"campaignRevision": 3,
"changes": [
{
"after": "PUBLIC_WEB",
"before": "PASSWORD",
"field": "accessMode"
}
],
"cost": {
"billingMode": "included",
"collectionBilledSeparately": true,
"estimated": 0,
"maximum": 0,
"unit": "credits"
},
"effects": [
"allow_public_collection_when_active",
"revoke_existing_access_sessions_and_invites"
],
"kind": "campaign_access",
"scenarioId": "scenario_01",
"scenarioRevision": 2
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "awaiting_approval",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
}
}

Scope: campaign:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Wait for an operation from this exact connection to reach a terminal state, rechecking live ownership, effect scope, role and entitlement on every read. After showing approvalUrl in a progress message, call this without asking the user to say done. Waits up to timeoutMs (default/max 10000); nextAction=wait means call again with the same operationId. nextAction=inspect_result means inspect state, error and result before continuing; completion can include failure or a partial result. Honors request cancellation. Does not approve, execute, cancel or retry effects, and cannot wake a closed chat.

Example input
{
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"timeoutMs": 10000
}
Example output
{
"nextAction": "wait",
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"campaignKey": "solar-consultation",
"campaignName": "Solar consultation",
"campaignRevision": 3,
"changes": [
{
"after": "PUBLIC_WEB",
"before": "PASSWORD",
"field": "accessMode"
}
],
"cost": {
"billingMode": "included",
"collectionBilledSeparately": true,
"estimated": 0,
"maximum": 0,
"unit": "credits"
},
"effects": [
"allow_public_collection_when_active",
"revoke_existing_access_sessions_and_invites"
],
"kind": "campaign_access",
"scenarioId": "scenario_01",
"scenarioRevision": 2
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "awaiting_approval",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
}
}

Scope: campaign:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Cancel a pending operation belonging to this exact connection. Requires its effect scope. Cancellation is idempotent; committed effects are never reversed. Check cancellable and the returned terminal state.

Example input
{
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b"
}
Example output
{
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": false,
"completedAt": "2026-11-09T12:01:00.000Z",
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"campaignKey": "solar-consultation",
"campaignName": "Solar consultation",
"campaignRevision": 3,
"changes": [
{
"after": "PUBLIC_WEB",
"before": "PASSWORD",
"field": "accessMode"
}
],
"cost": {
"billingMode": "included",
"collectionBilledSeparately": true,
"estimated": 0,
"maximum": 0,
"unit": "credits"
},
"effects": [
"allow_public_collection_when_active",
"revoke_existing_access_sessions_and_invites"
],
"kind": "campaign_access",
"scenarioId": "scenario_01",
"scenarioRevision": 2
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "cancelled",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
}
}

Scope: scenario:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Read the safe, canonical workflow for authoring Betterstood scenario and campaign drafts with this MCP server.

Example input
{}
Example output
{
"constraints": [
"Only scenarios without active campaigns can be updated over MCP.",
"Direct Campaign configuration writes require a DRAFT campaign. Routing changes also require no open respondent interactions. Publication and access changes use separate approved operations.",
"Standard channel preparation is deterministic and costs zero credits; live testing remains operator-led. Knowledge Base publication/removal/validation and campaign publication/unpublication/access use separately approved operations. No public tool accepts model confirmation as human approval.",
"Product knowledge search is read-only and never exposes respondent data or organization-specific scenario content.",
"Never remove fields unless the customer explicitly requested the removal."
],
"contractVersion": "v31",
"docsUrl": "https://betterstood.com/developers/agent-bootstrap.md",
"workflow": [
"Read account context, effective scopes, and current organization limits before authoring.",
"Use betterstood_knowledge_search for canonical guidance about the Betterstood product, campaigns, credits, pricing tiers, or use cases.",
"List, create, clone or import scenario drafts, then read the latest revision immediately before each update. Clone/import are configuration only; private Knowledge Base sources are never copied.",
"With separately granted knowledge:read and knowledge:write, inspect private Knowledge Base metadata and save settings; configuration alone never publishes or embeds sources.",
"With results:read, inspect retained execution states, structured outputs and deterministic Intelligence aggregates. With evidence:read, use bounded redacted evidence and current accepted report findings; preserve coverage and citations. Reads cost zero credits and require current Intelligence availability.",
"For workspace owner emails on new responses, read the preference with workspace_owner_response_email_get using notifications:read alone. For write access, request both notifications:read and notifications:write, then use workspace_owner_response_email_set with the desired enabled value. This applies across existing campaigns.",
"Create and configure campaign drafts only after selecting a scenario by stable id.",
"To edit a published campaign: prepare campaign_prepare_unpublish with campaign:unpublish, send approvalUrl to the user, and call betterstood_operation_wait until success. Unpublish every active campaign sharing the scenario or clone it. Update the scenario, call scenario_prepare_channel for the campaign channel, review, then campaign_prepare_publish and await separate approval and success. Never approve on the user behalf.",
"Review each complete draft. With campaign:publish or campaign:access, prepare the separate operation and show its approvalUrl to the user in a progress message. Never approve on the user behalf.",
"After showing an approvalUrl or receiving a queued source job, keep the current turn active and call betterstood_operation_wait with its operationId. Do not end the turn asking the user to say done. If nextAction is wait, call it again with the same operationId; honor retry delays on errors and stop if the user pauses or cancels. If nextAction is inspect_result, read the terminal state, error and result: continue the requested workflow only after successful completion, and explain failure, expiry, cancellation or a partial/unchanged result. A wait timeout is not an operation failure. This waits within an active tool call; it cannot restart a closed chat."
]
}

Scope: scenario:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Read allowlisted owner, organization, plan, effective authorization scope, usage limits, available credits, and derived MCP capabilities. A null scenario or campaign limit means unlimited capacity.

Example input
{}
Example output
{
"authorization": {
"effectiveScopes": [
"scenario:read",
"campaign:read"
],
"expiresAt": "2026-10-29T12:00:00.000Z",
"prefix": "betterstood_oauth_9ee7fb"
},
"capabilities": {
"campaignDraftAuthoring": false,
"campaignRead": true,
"scenarioDraftAuthoring": false,
"scenarioRead": true
},
"credits": {
"available": 1250,
"enforcement": "enforced"
},
"organization": {
"id": "org_01",
"name": "Helios Energy",
"plan": "growth",
"role": "admin"
},
"owner": {
"email": "ada@example.invalid",
"id": "user_01",
"name": "Ada Lovelace"
},
"usage": {
"activeConnections": {
"limit": 5,
"used": 2
},
"campaigns": {
"limit": 1000,
"used": 4
},
"scenarios": {
"limit": 25,
"used": 3
}
}
}

Scope: notifications:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Read whether the current workspace owner receives an email for new responses. Returns the workspace preference without retrieving responses or recipient addresses.

Example input
{}
Example output
{
"enabled": true
}

Scope: notifications:write

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Enable or disable owner emails for new responses across all campaigns in the current workspace. Set enabled to the desired boolean. Changing this preference requires no scenario edits or republication and sends no historical notifications.

Example input
{
"enabled": false
}
Example output
{
"enabled": false
}

Scope: scenario:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

List scenarios in the authenticated organization, including revision and current MCP editability.

Example input
{
"limit": 20,
"query": "solar"
}
Example output
{
"nextCursor": null,
"scenarios": [
{
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
]
}

Scope: scenario:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Read one organization-scoped scenario by stable id before attempting a revision-aware update.

Example input
{
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1"
}
Example output
{
"scenario": {
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners in Italy",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify homeowners who are exploring residential solar."
},
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
}

Scope: scenario:write

Availability: Free/Pro/PAYG/Growth/Scale · uses organization scenario capacity · 0 credits

Atomically create a validated, unpublished scenario draft from a template and semantic definition.

Example input
{
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners in Italy",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify homeowners who are exploring residential solar."
},
"idempotencyKey": "create-solar-20260731",
"language": "en-US",
"name": "Solar consultation",
"templateId": "lead_qualification"
}
Example output
{
"receipt": {
"expiresAt": "2026-08-01T12:00:00.000Z",
"idempotencyKey": "create-solar-20260731",
"replayed": false
},
"scenario": {
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners in Italy",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify homeowners who are exploring residential solar."
},
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
}

Scope: scenario:write

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Apply closed semantic operations to an editable scenario using optimistic revision and idempotency guards. If any campaign using it is ACTIVE, first complete approved campaign_prepare_unpublish operations or clone the scenario. After changing questions, call scenario_prepare_channel before republishing.

Example input
{
"expectedRevision": 1,
"idempotencyKey": "update-solar-20260731",
"operations": [
{
"profile": {
"audience": "Homeowners",
"purpose": "Qualify residential solar enquiries."
},
"type": "set_profile"
}
],
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1"
}
Example output
{
"receipt": {
"expiresAt": "2026-08-01T12:00:00.000Z",
"idempotencyKey": "update-solar-20260731",
"replayed": false
},
"scenario": {
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify residential solar enquiries."
},
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 2,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
}

Scope: scenario:write

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Regenerate the selected enabled Voice or Text Chat channel from the saved scenario configuration so it can pass campaign publication readiness. Deterministic, 0 credits, no model call or campaign activation. Requires no active campaign using the scenario, its current revision and an idempotency key. Existing manual channel text is preserved unless discardManualOverride is explicitly true. Returns semantic configuration only, never compiled prompts.

Example input
{
"channel": "voice",
"discardManualOverride": false,
"expectedRevision": 1,
"idempotencyKey": "prepare-solar-voice-20261116",
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1"
}
Example output
{
"receipt": {
"expiresAt": "2026-11-17T12:00:00.000Z",
"idempotencyKey": "prepare-solar-voice-20261116",
"replayed": false
},
"scenario": {
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners in Italy",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify homeowners who are exploring residential solar."
},
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 2,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
}

Scope: scenario:write

Availability: Free/Pro/PAYG/Growth/Scale · uses organization scenario capacity · 0 credits

Clone a same-organization scenario at an exact revision into a new draft. Private Knowledge Base sources and published runtime bindings are not copied. No publication or execution occurs.

Example input
{
"expectedRevision": 1,
"idempotencyKey": "clone-solar-20261109",
"name": "Solar consultation copy",
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1"
}
Example output
{
"receipt": {
"expiresAt": "2026-11-10T12:00:00.000Z",
"idempotencyKey": "clone-solar-20261109",
"replayed": false
},
"scenario": {
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners in Italy",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify homeowners who are exploring residential solar."
},
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
}

Scope: scenario:write

Availability: Free/Pro/PAYG/Growth/Scale · uses organization scenario capacity · 0 credits

Import a public Betterstood scenario export as a new draft through the canonical portable import service. Tenant-bound recipients, destinations and private Knowledge Base sources are reset; existing drafts are never overwritten.

Example input
{
"bundle": {
"exportedAt": "2026-11-09T12:00:00.000Z",
"format": "betterstood.scenario.v1",
"scenario": {
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners in Italy",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify homeowners who are exploring residential solar."
},
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
},
"idempotencyKey": "import-solar-20261109",
"name": "Imported consultation"
}
Example output
{
"receipt": {
"expiresAt": "2026-11-10T12:00:00.000Z",
"idempotencyKey": "import-solar-20261109",
"replayed": false
},
"scenario": {
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners in Italy",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify homeowners who are exploring residential solar."
},
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
}

Scope: scenario:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Validate the complete scenario bundle and return readiness, warnings, a safe prompt preview, conversation-length guidance and interviewEstimate: estimated minutes, typical and maximum credits for each channel the plan can run, the credits held when an interview starts, and how many interviews available credits cover (null while no estimate is available). Estimates are not charges. Oversized drafts remain saved; Voice preparation waits until they are shortened.

Example input
{
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1"
}
Example output
{
"interviewEstimate": {
"capacity": {
"availableCredits": 1000,
"interviews": [
{
"channel": "web_call",
"count": 24
},
{
"channel": "text_chat",
"count": 499
}
]
},
"channels": [
{
"channel": "web_call",
"heldCredits": 92,
"highCredits": 56,
"typicalCredits": 38,
"withinLimit": true
},
{
"channel": "text_chat",
"heldCredits": 4,
"highCredits": 4,
"typicalCredits": 2,
"withinLimit": true
}
],
"duration": "ok",
"minutes": {
"high": 9,
"low": 2,
"typical": 6
},
"questions": {
"conversation": 6,
"formFirst": 0,
"optional": 3,
"required": 3
},
"version": "interview-estimate.v1",
"voiceLimitMinutes": 15
},
"issues": [],
"promptPreview": "Ask one clear qualification question at a time.",
"ready": true,
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"studioUrl": "/app/studio/solar_consultation",
"warnings": []
}

Scope: scenario:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Export a versioned, secret-free public snapshot for review or archival; it is not a round-trip import format.

Example input
{
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1"
}
Example output
{
"exportedAt": "2026-07-31T12:00:00.000Z",
"format": "betterstood.scenario.v1",
"scenario": {
"definition": {
"assistantName": "Acme solar guide",
"audience": "Homeowners in Italy",
"fields": [
{
"followupGuidance": [],
"goodAnswerExamples": [
"Detached house"
],
"key": "property_type",
"label": "Property type",
"options": [
"Detached house",
"Apartment building",
"Commercial property"
],
"primaryQuestion": "What kind of property would you like to install solar panels on?",
"required": true,
"type": "select",
"weakAnswerExamples": [
"Not sure"
]
}
],
"liveFit": {
"gates": [],
"schemaVersion": "live-fit.v1"
},
"purpose": "Qualify homeowners who are exploring residential solar."
},
"language": "en-US",
"mcpEditability": {
"activeCampaignCount": 0,
"editable": true,
"reason": "draft",
"studioUrl": "/app/studio/solar_consultation"
},
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation",
"updatedAt": "2026-07-31T12:00:00.000Z"
}
}

Scope: campaign:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

List allowlisted campaign summaries in the authenticated organization with pagination and governed filters.

Example input
{
"channel": "web_call",
"limit": 20,
"status": "DRAFT"
}
Example output
{
"campaigns": [
{
"campaignKey": "solar-consultation-web",
"channel": "web_call",
"mcpEditability": {
"editable": true,
"editorUrl": "/app/campaigns/solar-consultation-web",
"reason": "draft"
},
"name": "Solar consultation — web",
"revision": 1,
"scenario": {
"language": "en-US",
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation"
},
"status": "DRAFT",
"textChatBudget": null,
"updatedAt": "2026-07-31T12:00:00.000Z"
}
],
"nextCursor": null
}

Scope: campaign:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Read one organization-scoped campaign by campaignKey through a data-minimized public configuration projection.

Example input
{
"campaignKey": "solar-consultation-web"
}
Example output
{
"campaign": {
"campaignKey": "solar-consultation-web",
"channel": "web_call",
"editorUrl": "/app/campaigns/solar-consultation-web",
"intake": {
"callback": {
"capacityPerSlot": 1,
"enabled": false,
"label": null
},
"ctaLabel": "Start the conversation",
"headline": "Tell us about your solar project",
"marketingConsentEnabled": true,
"quickAnswers": {
"enabled": false,
"label": null
},
"subheadline": "A short guided conversation helps us understand the request.",
"title": "Solar consultation"
},
"mcpEditability": {
"editable": true,
"editorUrl": "/app/campaigns/solar-consultation-web",
"reason": "draft"
},
"name": "Solar consultation — web",
"review": {
"campaignKey": "solar-consultation-web",
"draftReady": true,
"editorUrl": "/app/campaigns/solar-consultation-web",
"issues": [],
"operatorActions": [
"prepare_scenario",
"configure_access",
"publish_campaign"
],
"publishReadiness": {
"code": "PUBLISH_PROVIDER_NOT_PUBLISHED",
"ready": false
},
"revision": 1,
"warnings": [
{
"code": "PUBLISH_PROVIDER_NOT_PUBLISHED",
"message": "Use scenario_prepare_channel for the linked scenario before publishing this campaign.",
"path": "/publishReadiness"
},
{
"code": "ACCESS_CONFIGURATION_REQUIRED",
"message": "Choose and configure campaign access in the editor before publishing.",
"path": "/access"
}
]
},
"revision": 1,
"scenario": {
"language": "en-US",
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation"
},
"status": "DRAFT",
"textChatBudget": null,
"theme": {
"brandName": "Helios Energy",
"fontPreset": "inter",
"logoUrl": "https://assets.example.invalid/helios.svg",
"radiusDensity": "medium",
"tokens": {
"accent": "#24d365",
"accentText": "#04140a",
"background": "#0e1111",
"border": "#3b4144",
"button": "#24d365",
"buttonText": "#04140a",
"mutedText": "#9fa9a4",
"surface": "#17191b",
"surfaceAlt": "#272b2d",
"text": "#f7f7f2"
}
},
"updatedAt": "2026-07-31T12:00:00.000Z"
}
}

Scope: campaign:write

Availability: Free/Pro/PAYG/Growth/Scale · uses organization campaign capacity · 0 credits

Idempotently create a DRAFT campaign for a stable scenario id while enforcing the ordinary campaign quota.

Example input
{
"channel": "web_call",
"idempotencyKey": "create-solar-web-20260731",
"name": "Solar consultation — web",
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1"
}
Example output
{
"campaign": {
"campaignKey": "solar-consultation-web",
"channel": "web_call",
"editorUrl": "/app/campaigns/solar-consultation-web",
"intake": {
"callback": {
"capacityPerSlot": 1,
"enabled": false,
"label": null
},
"ctaLabel": "Start the conversation",
"headline": "Tell us about your solar project",
"marketingConsentEnabled": true,
"quickAnswers": {
"enabled": false,
"label": null
},
"subheadline": "A short guided conversation helps us understand the request.",
"title": "Solar consultation"
},
"mcpEditability": {
"editable": true,
"editorUrl": "/app/campaigns/solar-consultation-web",
"reason": "draft"
},
"name": "Solar consultation — web",
"review": {
"campaignKey": "solar-consultation-web",
"draftReady": true,
"editorUrl": "/app/campaigns/solar-consultation-web",
"issues": [],
"operatorActions": [
"prepare_scenario",
"configure_access",
"publish_campaign"
],
"publishReadiness": {
"code": "PUBLISH_PROVIDER_NOT_PUBLISHED",
"ready": false
},
"revision": 1,
"warnings": [
{
"code": "PUBLISH_PROVIDER_NOT_PUBLISHED",
"message": "Use scenario_prepare_channel for the linked scenario before publishing this campaign.",
"path": "/publishReadiness"
},
{
"code": "ACCESS_CONFIGURATION_REQUIRED",
"message": "Choose and configure campaign access in the editor before publishing.",
"path": "/access"
}
]
},
"revision": 1,
"scenario": {
"language": "en-US",
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation"
},
"status": "DRAFT",
"textChatBudget": null,
"theme": {
"brandName": "Helios Energy",
"fontPreset": "inter",
"logoUrl": "https://assets.example.invalid/helios.svg",
"radiusDensity": "medium",
"tokens": {
"accent": "#24d365",
"accentText": "#04140a",
"background": "#0e1111",
"border": "#3b4144",
"button": "#24d365",
"buttonText": "#04140a",
"mutedText": "#9fa9a4",
"surface": "#17191b",
"surfaceAlt": "#272b2d",
"text": "#f7f7f2"
}
},
"updatedAt": "2026-07-31T12:00:00.000Z"
},
"receipt": {
"expiresAt": "2026-08-01T12:00:00.000Z",
"idempotencyKey": "create-solar-web-20260731",
"replayed": false
}
}

Scope: campaign:write

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Rename a DRAFT campaign without changing its key, or atomically apply one operation of each supported type, with optimistic revision and idempotency guards.

Example input
{
"campaignKey": "solar-consultation-web",
"expectedRevision": 1,
"idempotencyKey": "update-solar-web-20260731",
"name": "Solar consultation - spring",
"operations": [
{
"intake": {
"ctaLabel": "Start the conversation",
"headline": "Tell us about your solar project",
"subheadline": "A short guided conversation helps us understand the request.",
"title": "Solar consultation"
},
"type": "set_intake"
},
{
"theme": {
"brandName": "Helios Energy",
"fontPreset": "inter"
},
"type": "set_theme"
}
]
}
Example output
{
"campaign": {
"campaignKey": "solar-consultation-web",
"channel": "web_call",
"editorUrl": "/app/campaigns/solar-consultation-web",
"intake": {
"callback": {
"capacityPerSlot": 1,
"enabled": false,
"label": null
},
"ctaLabel": "Start the conversation",
"headline": "Tell us about your solar project",
"marketingConsentEnabled": true,
"quickAnswers": {
"enabled": false,
"label": null
},
"subheadline": "A short guided conversation helps us understand the request.",
"title": "Solar consultation"
},
"mcpEditability": {
"editable": true,
"editorUrl": "/app/campaigns/solar-consultation-web",
"reason": "draft"
},
"name": "Solar consultation - spring",
"review": {
"campaignKey": "solar-consultation-web",
"draftReady": true,
"editorUrl": "/app/campaigns/solar-consultation-web",
"issues": [],
"operatorActions": [
"prepare_scenario",
"configure_access",
"publish_campaign"
],
"publishReadiness": {
"code": "PUBLISH_PROVIDER_NOT_PUBLISHED",
"ready": false
},
"revision": 2,
"warnings": [
{
"code": "PUBLISH_PROVIDER_NOT_PUBLISHED",
"message": "Use scenario_prepare_channel for the linked scenario before publishing this campaign.",
"path": "/publishReadiness"
},
{
"code": "ACCESS_CONFIGURATION_REQUIRED",
"message": "Choose and configure campaign access in the editor before publishing.",
"path": "/access"
}
]
},
"revision": 2,
"scenario": {
"language": "en-US",
"name": "Solar consultation",
"revision": 1,
"scenarioId": "018f769b-7a6a-7c32-9f3c-8399b27c33f1",
"slug": "solar_consultation"
},
"status": "DRAFT",
"textChatBudget": null,
"theme": {
"brandName": "Helios Energy",
"fontPreset": "inter",
"logoUrl": "https://assets.example.invalid/helios.svg",
"radiusDensity": "medium",
"tokens": {
"accent": "#24d365",
"accentText": "#04140a",
"background": "#0e1111",
"border": "#3b4144",
"button": "#24d365",
"buttonText": "#04140a",
"mutedText": "#9fa9a4",
"surface": "#17191b",
"surfaceAlt": "#272b2d",
"text": "#f7f7f2"
}
},
"updatedAt": "2026-07-31T12:00:00.000Z"
},
"receipt": {
"expiresAt": "2026-08-01T12:00:00.000Z",
"idempotencyKey": "update-solar-web-20260731",
"replayed": false
}
}

Scope: campaign:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Run deterministic provider-free DRAFT validation and return allowlisted blockers, warnings, operator actions, the editor link and interviewEstimate for the campaign channel: estimated minutes, credits per interview, the start hold and how many interviews available credits cover (null while no estimate is available). Phone estimates assume domestic numbers.

Example input
{
"campaignKey": "solar-consultation-web"
}
Example output
{
"campaignKey": "solar-consultation-web",
"draftReady": true,
"editorUrl": "/app/campaigns/solar-consultation-web",
"interviewEstimate": {
"capacity": {
"availableCredits": 1000,
"interviews": [
{
"channel": "web_call",
"count": 24
}
]
},
"channels": [
{
"channel": "web_call",
"heldCredits": 92,
"highCredits": 56,
"typicalCredits": 38,
"withinLimit": true
}
],
"duration": "ok",
"minutes": {
"high": 9,
"low": 2,
"typical": 6
},
"questions": {
"conversation": 6,
"formFirst": 0,
"optional": 3,
"required": 3
},
"version": "interview-estimate.v1",
"voiceLimitMinutes": 15
},
"issues": [],
"operatorActions": [
"prepare_scenario",
"configure_access",
"publish_campaign"
],
"publishReadiness": {
"code": "PUBLISH_PROVIDER_NOT_PUBLISHED",
"ready": false
},
"revision": 1,
"warnings": [
{
"code": "PUBLISH_PROVIDER_NOT_PUBLISHED",
"message": "Use scenario_prepare_channel for the linked scenario before publishing this campaign.",
"path": "/publishReadiness"
},
{
"code": "ACCESS_CONFIGURATION_REQUIRED",
"message": "Choose and configure campaign access in the editor before publishing.",
"path": "/access"
}
]
}

Scope: knowledge:publish

Availability: Free/Pro/PAYG/Growth/Scale + knowledge_base_embedding · no separate monthly quota · 0 credits

Prepare a revision and budget bound human approval for private Knowledge Base publication and embedding. Does not make a campaign public. Show approvalUrl and call betterstood_operation_wait; canonical billing and projection recovery apply.

Example input
{
"expectedRevision": 2,
"idempotencyKey": "knowledge-publish-20261109",
"maximumCredits": 100,
"scenarioId": "scenario_01"
}
Example output
{
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"cost": {
"billingMode": "enforce",
"collectionBilledSeparately": false,
"estimated": 100,
"maximum": 100,
"unit": "credits"
},
"effects": [
"publish_private_knowledge"
],
"kind": "knowledge_publish",
"knowledgeBaseRevisionId": "revision_01",
"manifestHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"query": null,
"scenarioId": "scenario_01",
"scenarioName": "Solar consultation",
"scenarioRevision": 2,
"sourceLabel": null
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "awaiting_approval",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
},
"replayed": false
}

Scope: knowledge:publish

Availability: Free/Pro/PAYG/Growth/Scale + knowledge_base_embedding · no separate monthly quota · 0 credits

Prepare human approval to remove one source identified by scenario_knowledge_get. Remaining sources are republished with their existing embedding rating; the final source disables the Knowledge Base at zero credits. Show approvalUrl and call betterstood_operation_wait.

Example input
{
"expectedRevision": 2,
"idempotencyKey": "knowledge-removal-20261109",
"maximumCredits": 100,
"scenarioId": "scenario_01",
"sourceId": "bs_kbs_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
Example output
{
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"cost": {
"billingMode": "enforce",
"collectionBilledSeparately": false,
"estimated": 100,
"maximum": 100,
"unit": "credits"
},
"effects": [
"remove_private_source",
"publish_private_knowledge"
],
"kind": "knowledge_remove",
"knowledgeBaseRevisionId": "revision_01",
"manifestHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"query": null,
"scenarioId": "scenario_01",
"scenarioName": "Solar consultation",
"scenarioRevision": 2,
"sourceLabel": "FAQ.txt"
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "awaiting_approval",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
},
"replayed": false
}

Scope: knowledge:validate

Availability: Free/Pro/PAYG/Growth/Scale + knowledge_base_embedding · no separate monthly quota · 0 credits

Prepare human approval for one bounded retrieval validation against the current published ready private Knowledge Base. Returns only count and readiness, never private source contents. Zero credits. Show approvalUrl and call betterstood_operation_wait.

Example input
{
"expectedRevision": 2,
"idempotencyKey": "knowledge-validation-20261109",
"maximumCredits": 0,
"query": "What are the supported installation locations?",
"scenarioId": "scenario_01"
}
Example output
{
"operation": {
"approvalRequired": true,
"approvalUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b",
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"cost": {
"billingMode": "included",
"collectionBilledSeparately": false,
"estimated": 0,
"maximum": 0,
"unit": "credits"
},
"effects": [
"validate_private_retrieval"
],
"kind": "knowledge_validate",
"knowledgeBaseRevisionId": "revision_01",
"manifestHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"query": "What are the supported installation locations?",
"scenarioId": "scenario_01",
"scenarioName": "Solar consultation",
"scenarioRevision": 2,
"sourceLabel": null
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "awaiting_approval",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
},
"replayed": false
}

Scope: knowledge:prepare

Availability: Free/Pro/PAYG/Growth/Scale + knowledge_base_embedding · no separate monthly quota · 0 credits

Queue private source preparation for one scenario through canonical ingestion. Accepts a file up to 128 KiB as base64 or a public HTTPS URL. Uses shared file/SSRF protections. No embedding, publication or credits; this configuration job needs no additional human approval. Call betterstood_operation_wait until terminal and inspect its resulting revision before continuing. Larger files use Studio.

Example input
{
"expectedRevision": 1,
"idempotencyKey": "stage-faq-20261109",
"scenarioId": "scenario_01",
"source": {
"kind": "url",
"url": "https://example.com/faq.txt"
}
}
Example output
{
"operation": {
"approvalRequired": false,
"approvalUrl": null,
"approvedAt": null,
"cancellable": true,
"completedAt": null,
"error": null,
"expiresAt": "2026-11-09T12:15:00.000Z",
"operationId": "7a20cd20-4d1d-48de-bce5-784de15f085b",
"preview": {
"cost": {
"billingMode": "included",
"collectionBilledSeparately": false,
"estimated": 0,
"maximum": 0,
"unit": "credits"
},
"effects": [
"store_private_source",
"fetch_public_https_url"
],
"kind": "knowledge_stage",
"scenarioId": "scenario_01",
"scenarioName": "Solar consultation",
"scenarioRevision": 1,
"source": {
"kind": "url",
"label": "https://example.com/faq.txt",
"sha256": null,
"sizeBytes": null
}
},
"result": null,
"retainedUntil": "2026-11-10T12:00:00.000Z",
"state": "queued",
"statusUrl": "https://app.betterstood.com/auth/mcp/operations/7a20cd20-4d1d-48de-bce5-784de15f085b"
},
"replayed": false
}

Scope: knowledge:read

Availability: Free/Pro/PAYG/Growth/Scale + knowledge_base_embedding · no separate monthly quota · 0 credits

Read private tenant Knowledge Base configuration and bounded source metadata for one scenario. Publication status is the saved snapshot; readiness is computed from the canonical published revision/projection used by campaign publication, without a provider request. No source contents, storage coordinates or provider identity are returned.

Example input
{
"scenarioId": "scenario_01"
}
Example output
{
"knowledgeBase": {
"lastValidatedAt": null,
"publicationStatus": "empty",
"readiness": {
"publishedRevisionId": null,
"ready": false
},
"revision": 1,
"scenarioId": "scenario_01",
"settings": {
"enabled": false,
"maxResults": 3,
"usageInstructions": null
},
"sources": []
}
}

Scope: knowledge:write

Availability: Free/Pro/PAYG/Growth/Scale + knowledge_base_embedding · no separate monthly quota · 0 credits

Save private scenario Knowledge Base settings through the canonical revision-aware service. This does not stage sources, publish, embed, refresh or run retrieval. An enabled setting alone does not make a draft ready.

Example input
{
"expectedRevision": 1,
"idempotencyKey": "knowledge-settings-20261109",
"scenarioId": "scenario_01",
"settings": {
"maxResults": 5
}
}
Example output
{
"knowledgeBase": {
"lastValidatedAt": null,
"publicationStatus": "empty",
"readiness": {
"publishedRevisionId": null,
"ready": false
},
"revision": 2,
"scenarioId": "scenario_01",
"settings": {
"enabled": false,
"maxResults": 5,
"usageInstructions": null
},
"sources": []
},
"receipt": {
"expiresAt": "2026-11-10T12:00:00.000Z",
"idempotencyKey": "knowledge-settings-20261109",
"replayed": false
}
}

Scope: results:read

Availability: Free/Pro/PAYG/Growth/Scale + intelligence_copilot · no separate monthly quota · 0 credits

Describe retained structured SELECT/BOOLEAN fields for a tenant scenario or campaign. Uses the governed Intelligence dataset reader; no respondent identities or source contents. Zero credits; current Intelligence release availability applies.

Example input
{
"scope": {
"campaignKey": "solar-consultation",
"scenarioId": "scenario_01"
}
}
Example output
{
"exactOperations": [
"journey_count",
"answer_distribution"
],
"fields": [],
"pagination": {
"nextPage": null,
"page": 1,
"pageSize": 20,
"total": 0,
"truncated": false
},
"scope": {
"campaignKey": "solar-consultation",
"campaignRevision": 1,
"scenarioId": "scenario_01",
"scenarioRevision": 1
}
}

Scope: results:read

Availability: Free/Pro/PAYG/Growth/Scale + intelligence_copilot · no separate monthly quota · 0 credits

Run a deterministic full-scope journey count or answer distribution through the same Intelligence query reader as web/Copilot. Dates use UTC. Distribution values are paginated; exact coverage describes the complete retained population, never a sample. Zero credits.

Example input
{
"query": {
"operation": "journey_count"
},
"scope": {
"campaignKey": "solar-consultation",
"scenarioId": "scenario_01"
}
}
Example output
{
"citations": [
{
"citationId": "aggregate:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"kind": "AGGREGATE",
"queryDigest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"coverage": {
"asOf": "2026-11-09T12:00:00.000Z",
"eligibleCalls": 0,
"exact": true,
"scenarioRevisions": [],
"selectionMethod": "FULL_EXACT",
"truncated": false
},
"operation": "journey_count",
"pagination": null,
"scope": {
"campaignKey": "solar-consultation",
"campaignRevision": 1,
"scenarioId": "scenario_01",
"scenarioRevision": 1
},
"value": 0
}

Scope: results:read

Availability: Free/Pro/PAYG/Growth/Scale + intelligence_copilot · no separate monthly quota · 0 credits

List current retained journey execution states and answer counts for one scenario/campaign, without contact fields or answers. Uses the same journey reader as the web. Pages contain up to 50 entries, ordered by update time; concurrent changes can move entries between pages.

Example input
{
"pageSize": 20,
"scope": {
"campaignKey": "solar-consultation",
"scenarioId": "scenario_01"
}
}
Example output
{
"pagination": {
"nextPage": null,
"page": 1,
"pageSize": 20,
"total": 0,
"truncated": false
},
"results": [],
"scope": {
"campaignKey": "solar-consultation",
"campaignRevision": 1,
"scenarioId": "scenario_01",
"scenarioRevision": 1
}
}

Scope: results:read

Availability: Free/Pro/PAYG/Growth/Scale + intelligence_copilot · no separate monthly quota · 0 credits

Read bounded, redacted structured outputs from one retained interaction through the governed Intelligence reader. Current reviewed answers take precedence. Identity fields, raw transcripts and source quotes are omitted. Output citations bind to the current digest; no score rationale is invented. Zero credits.

Example input
{
"campaignKey": "solar-consultation",
"interactionId": "interaction_01",
"scenarioId": "scenario_01"
}
Example output
{
"available": false,
"interactionId": "interaction_01",
"outputDigest": null,
"outputs": [],
"pagination": {
"nextPage": null,
"page": 1,
"pageSize": 20,
"total": 0,
"truncated": false
},
"scope": {
"campaignKey": "solar-consultation",
"campaignRevision": 1,
"scenarioId": "scenario_01",
"scenarioRevision": 1
},
"truncated": false
}

Scope: evidence:read

Availability: Free/Pro/PAYG/Growth/Scale + intelligence_copilot · no separate monthly quota · 0 credits

Search governed, contact-redacted evidence excerpts from retained tenant data. Dedicated evidence permission is required. The canonical reader inspects at most 200 candidates, selects up to 12 relevant or 30 sampled interactions, and returns at most 24 excerpts across pages. Coverage is explicitly sampled; no raw transcript download or provider execution.

Example input
{
"query": "What did respondents say about onboarding?",
"scope": {
"campaignKey": "solar-consultation",
"scenarioId": "scenario_01"
}
}
Example output
{
"coverage": {
"asOf": "2026-11-09T12:00:00.000Z",
"candidateCalls": 0,
"eligibleCalls": 0,
"evidenceItems": 0,
"exact": false,
"inspectedCalls": 0,
"scenarioRevisions": [],
"selectionMethod": "LEXICAL_TOP_K",
"truncated": false
},
"evidence": [],
"limitations": [],
"pagination": {
"nextPage": null,
"page": 1,
"pageSize": 20,
"total": 0,
"truncated": false
},
"scope": {
"campaignKey": "solar-consultation",
"campaignRevision": 1,
"scenarioId": "scenario_01",
"scenarioRevision": 1
}
}

Scope: evidence:read

Availability: Free/Pro/PAYG/Growth/Scale + intelligence_copilot · no separate monthly quota · 0 credits

Read accepted findings from existing digest-valid Evidence Synthesis reports for one complete, unfiltered campaign and current scenario revision. Requires the existing synthesis tier and retained evidence sources. Does not generate, approve or modify a report. At most ten recent reports and 24 excerpts per returned page; omitted evidence is reported as truncated.

Example input
{
"campaignKey": "solar-consultation",
"scenarioId": "scenario_01"
}
Example output
{
"available": false,
"findings": [],
"pagination": {
"nextPage": null,
"page": 1,
"pageSize": 20,
"total": 0,
"truncated": false
},
"scope": {
"campaignKey": "solar-consultation",
"campaignRevision": 1,
"scenarioId": "scenario_01",
"scenarioRevision": 1
},
"truncated": false
}

Scope: scenario:read

Availability: Free/Pro/PAYG/Growth/Scale · no separate monthly quota · 0 credits

Search the canonical, customer-safe Betterstood product knowledge in one requested locale, optionally limited to selected topics.

Example input
{
"limit": 3,
"locale": "en-US",
"query": "How do credits work?",
"topics": [
"credits"
]
}
Example output
{
"hasMore": false,
"locale": "en-US",
"productVersion": "0.7.1",
"resultCount": 1,
"results": [
{
"documentTitle": "Credits",
"id": "credits:credit-basics",
"sectionTitle": "How credits work",
"text": "Credits measure metered Betterstood usage. Product knowledge searches do not consume credits.",
"topic": "credits"
}
],
"schemaVersion": 1,
"topicsSearched": [
"credits"
]
}