Growth
Get the demo agent's settings
GET
/workspaces/current/agent-settingsNeedscontent.viewOn/off, playbook, starter chips, booking link, live demo environment, block list and whether Slack lead alerts are set. The Slack URL itself is never returned.
Authorization
secretKeyheader
AuthorizationBearer <sk_…>A secret API key from Settings → API keys. It acts with its creator's role.
Response Body
OK
application/json- response
agentSettings*The AI demo agent's settings.
defaults*Default values.
planFeatures*What the workspace's plan allows.
Shell
curl -X GET 'https://app.cueston.com/api/workspaces/current/agent-settings'Example Response
JSON
{
"agentSettings": {
"enabled": true,
"drives": true,
"leadCapture": true,
"label": "string",
"bookingUrl": "string",
"suggestions": [
"string"
],
"playbook": {
"mode": "support",
"pitch": "string",
"valueProps": [
"string"
],
"qualifyingQuestions": [
{
"question": "string",
"choices": [
"string"
]
}
],
"keyWorkflows": [
{
"name": "Onboarding tour",
"goal": "string",
"url": "https://app.acme.com/settings/billing"
}
],
"primaryCta": {
"label": "string",
"url": "https://app.acme.com/settings/billing"
}
},
"blockedDomains": [
"string"
],
"demoUrl": "string",
"slackWebhookUrl": null,
"slackConnected": true
},
"defaults": {},
"planFeatures": {
"drives": true,
"leadCapture": true
}
}Export audit events as CSVGET
The same filters as the list. At most 100,000 rows; the export itself is audited.
Update the demo agent's settingsPATCH
Only the fields you send change; `playbook` is replaced whole. `drives` and `leadCapture` need a paid plan (402). `blockedDomains` entries are normalized (URLs and @domain become the domain). `slackWebhookUrl` must be a Slack incoming webhook (hooks.slack.com); null removes it.