{
"error": {
"code": "SERVICE_UNDER_MAINTENANCE",
"message": "The API is temporarily unavailable for scheduled maintenance, please try again later"
}
}
{
"error": {
"code": "SERVICE_UNDER_MAINTENANCE",
"message": "The API is temporarily unavailable for scheduled maintenance, please try again later"
}
}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Chatbase","colors":{"primary":"#18181b","light":"#f4f4f5","dark":"#18181b"},"logo":{"light":"https://mintcdn.com/chatbase/pJU9vM3D9oN_YQME/logo/light.svg?fit=max\u0026auto=format\u0026n=pJU9vM3D9oN_YQME\u0026q=85\u0026s=a45a73af7ac778cd0920dbb6ad1aaa93","dark":"https://mintcdn.com/chatbase/8k6_6eFSz4sj8EO0/logo/dark.svg?fit=max\u0026auto=format\u0026n=8k6_6eFSz4sj8EO0\u0026q=85\u0026s=c0c106d2f92f6a87f872a2be66706041","href":"https://chatbase.co"},"favicon":"https://mintcdn.com/chatbase/NsUPSmNqecm03uiz/favicon.ico?fit=max\u0026auto=format\u0026n=NsUPSmNqecm03uiz\u0026q=85\u0026s=b37388fc54cd76cfaf3efcb8ab4a4dc8","appearance":{},"navbar":{"links":[{"href":"https://chatbase.co/help","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.chatbase.co/dashboard"}},"footer":{"socials":{"x":"https://x.com/chatbase_co","linkedin":"https://linkedin.com/company/chatbase-co","youtube":"https://www.youtube.com/@chatbase_"}},"seo":{"metatags":{"canonical":"https://www.chatbase.co/docs"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chatbase","hasAudioNarration":false,"actualSubdomain":"chatbase","customDomains":["chatbase.co"],"gitSource":{"type":"github","owner":"chatbase-co","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adfc6a09b9230fa127ba040","collectionId":"f944d6dc-a02c-46cc-90d5-49ac75d4e0ce","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adfc6a09b9230fa127ba040"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae07392cdcf99f97c30c970","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"User Guide","count":100},{"language":"default","tag":"API Reference","count":76},{"language":"default","tag":"Endpoints","count":62},{"language":"default","tag":"API v2","count":55},{"language":"default","tag":"Integrations","count":34},{"language":"default","tag":"Developer Guide","count":30},{"language":"default","tag":"AI Agent Management","count":30},{"language":"default","tag":"SDKs","count":26},{"language":"default","tag":"Help Desk","count":22},{"language":"default","tag":"API v1","count":21}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-dropdown-trigger{border-color:transparent!important;border-bottom-color:rgb(var(--gray-500)/.2)!important;border-radius:0!important;padding:.5rem .875rem .875rem 1rem!important}.nav-dropdown-trigger .nav-dropdown-item-icon{display:none!important}.nav-dropdown-trigger .nav-dropdown-item-text-container{padding-left:0!important}.nav-dropdown-trigger .nav-dropdown-item-title{font-weight:600!important}.nav-dropdown-item-title::after{display:inline-block;margin-left:.5rem;padding:.125rem .5rem;border-radius:.375rem;font-size:.7rem;font-weight:600;line-height:1.2;vertical-align:middle}:is(.nav-dropdown-trigger, .nav-dropdown-item):has([style*=\"/code.svg\"]) .nav-dropdown-item-title::after{content:\"Current\";color:rgb(22 163 74);background:rgb(22 163 74/.12)}:is(.nav-dropdown-trigger, .nav-dropdown-item):has([style*=\"/box-archive.svg\"]) .nav-dropdown-item-title::after{content:\"Deprecated\";color:rgb(217 119 6);background:rgb(217 119 6/.12)}"}],"page":{"pagePath":"api-reference/v2/agents/update-agent-styles","slug":"/api-reference/v2/agents/update-agent-styles","pageMetadata":{"title":"Update agent styles","description":"Updates the visual styles for an agent.","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}/styles","href":"/api-reference/v2/agents/update-agent-styles","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Updates the visual styles for an agent.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update agent styles","description":"Updates the visual styles for an agent.","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}/styles","href":"/api-reference/v2/agents/update-agent-styles","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateAgentStyles","tags":["Agents"],"summary":"Update agent styles","description":"Updates the visual styles for an agent.","security":["f4559f35-bb3a-4b98-b164-804f91497e21"],"parameters":["771c541f-61fd-40e1-9cce-7bb2e776fc9e"],"requestBody":"d254a389-8fe6-45c0-ad23-2dbcb32ea3ff","responses":{"200":"78b8ce59-e42f-4a80-9961-c88d97886bf7","400":"b8b7872b-3df2-4357-a160-0f6a27464047","401":"fed6ad12-9d92-483f-92bd-5a0c8af4e666","403":"e2ac49c5-d11c-4e52-94c0-bed1cc347bb9","404":"923de238-0a63-4324-bc28-10aed0028168","429":"76bef05d-64f2-4de4-b821-1f83922e1411","500":"75b6af2e-1d3e-423b-8a3f-3b425e852f07","503":"ea486593-0126-4158-a24b-4bfd94dae9ac"},"method":"put","type":"path","servers":["131cbcde-68c0-4c82-baf4-8793c7424f12"],"path":"/agents/{agentId}/styles","baseUrlOptions":["https://www.chatbase.co/api/v2"],"title":"Update agent styles","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"771c541f-61fd-40e1-9cce-7bb2e776fc9e":{"schema":{"type":"string","minLength":1,"description":"The agent ID","example":"5QHA6VB-DIAbBhxwqxfdi","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The agent ID","name":"agentId","in":"path"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"styles":{"type":"object","properties":{"chat":{"type":"object","properties":{"theme":{"type":"string","enum":["light","dark"],"description":"Widget color theme","example":"light","uniqueKey":"styles.chat.theme","typeLabel":"enum\u003cstring>"},"headerColor":{"type":"string","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","description":"Chat header background color (hex, e.g. #1A2B3C)","uniqueKey":"styles.chat.headerColor","typeLabel":"string"},"userMessageColor":{"type":"string","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","description":"User message bubble background color (hex)","uniqueKey":"styles.chat.userMessageColor","typeLabel":"string"},"buttonColor":{"oneOf":[{"type":"string","description":"Chat launcher button and primary accent color. Pass a hex code or \"transparent\"","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","uniqueKey":"styles.chat.buttonColor.oneOf.0","typeLabel":"string"},{"type":"string","description":"Chat launcher button and primary accent color. Pass a hex code or \"transparent\"","enum":["transparent"],"example":"#1A2B3C","uniqueKey":"styles.chat.buttonColor.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"styles.chat.buttonColor","typeLabel":"string | enum\u003cstring>"},"displayName":{"oneOf":[{"type":"string","maxLength":100,"description":"Name displayed in the chat header. Defaults to the agent name (max 100 chars)","uniqueKey":"styles.chat.displayName.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"Name displayed in the chat header. Defaults to the agent name (max 100 chars)","uniqueKey":"styles.chat.displayName.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.chat.displayName","typeLabel":"string | null"},"autoOpenChatWindowAfter":{"oneOf":[{"type":"number","description":"Seconds after page load before the chat window opens automatically. null = disabled","example":5,"uniqueKey":"styles.chat.autoOpenChatWindowAfter.oneOf.0","typeLabel":"number"},{"type":"null","description":"Seconds after page load before the chat window opens automatically. null = disabled","example":5,"uniqueKey":"styles.chat.autoOpenChatWindowAfter.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.chat.autoOpenChatWindowAfter","typeLabel":"number | null"},"mobile":{"type":"object","properties":{"initialMessages":{"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"styles.chat.mobile.initialMessages.oneOf.0.enabled","typeLabel":"boolean"},"value":{"type":"array","items":{"type":"string","uniqueKey":"styles.chat.mobile.initialMessages.oneOf.0.value.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"styles.chat.mobile.initialMessages.oneOf.0.value","typeLabel":"string[]"}},"required":["enabled","value"],"uniqueKey":"styles.chat.mobile.initialMessages.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"enabled":{"type":"boolean"},"value":{"type":"array","items":{"type":"string"}}},"required":["enabled","value"],"uniqueKey":"styles.chat.mobile.initialMessages.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.chat.mobile.initialMessages","typeLabel":"object | null"},"autoOpenChatWindowAfter":{"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"styles.chat.mobile.autoOpenChatWindowAfter.oneOf.0.enabled","typeLabel":"boolean"},"value":{"type":"number","isRequired":true,"uniqueKey":"styles.chat.mobile.autoOpenChatWindowAfter.oneOf.0.value","typeLabel":"number"}},"required":["enabled","value"],"uniqueKey":"styles.chat.mobile.autoOpenChatWindowAfter.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"enabled":{"type":"boolean"},"value":{"type":"number"}},"required":["enabled","value"],"uniqueKey":"styles.chat.mobile.autoOpenChatWindowAfter.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.chat.mobile.autoOpenChatWindowAfter","typeLabel":"object | null"},"showAutoOpen":{"oneOf":[{"type":"boolean","uniqueKey":"styles.chat.mobile.showAutoOpen.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"styles.chat.mobile.showAutoOpen.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.chat.mobile.showAutoOpen","typeLabel":"boolean | null"}},"description":"Mobile-specific overrides for initial messages and auto-open timing","uniqueKey":"styles.chat.mobile","typeLabel":"object"},"alignChatButton":{"type":"string","enum":["left","right"],"description":"Corner the launcher button is anchored to","example":"right","uniqueKey":"styles.chat.alignChatButton","typeLabel":"enum\u003cstring>"},"messagePlaceholder":{"oneOf":[{"type":"string","maxLength":200,"description":"Placeholder text shown inside the message input field (max 200 chars)","uniqueKey":"styles.chat.messagePlaceholder.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200,"description":"Placeholder text shown inside the message input field (max 200 chars)","uniqueKey":"styles.chat.messagePlaceholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.chat.messagePlaceholder","typeLabel":"string | null"},"footer":{"oneOf":[{"type":"string","maxLength":500,"description":"Small text shown below the input bar, e.g. branding or legal notice (max 500 chars)","uniqueKey":"styles.chat.footer.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"Small text shown below the input bar, e.g. branding or legal notice (max 500 chars)","uniqueKey":"styles.chat.footer.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.chat.footer","typeLabel":"string | null"},"showFeedback":{"type":"boolean","description":"Show thumbs-up / thumbs-down buttons on agent messages","uniqueKey":"styles.chat.showFeedback","typeLabel":"boolean"},"showCopyButton":{"type":"boolean","description":"Show a copy-to-clipboard button on agent messages","uniqueKey":"styles.chat.showCopyButton","typeLabel":"boolean"},"dismissableNotice":{"oneOf":[{"type":"string","maxLength":500,"description":"Text shown in a dismissable banner above the chat. Empty string = hidden (max 500 chars)","uniqueKey":"styles.chat.dismissableNotice.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"Text shown in a dismissable banner above the chat. Empty string = hidden (max 500 chars)","uniqueKey":"styles.chat.dismissableNotice.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.chat.dismissableNotice","typeLabel":"string | null"},"showDictation":{"type":"boolean","description":"Show a microphone button for speech-to-text input","uniqueKey":"styles.chat.showDictation","typeLabel":"boolean"},"showAttachments":{"type":"boolean","description":"Allow users to attach files to their messages","uniqueKey":"styles.chat.showAttachments","typeLabel":"boolean"},"showVoiceMode":{"type":"boolean","description":"Show the voice-conversation mode button in the chat","uniqueKey":"styles.chat.showVoiceMode","typeLabel":"boolean"}},"description":"Chat widget styles","uniqueKey":"styles.chat","typeLabel":"object"},"centerStage":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable or disable the Center Stage widget entirely","uniqueKey":"styles.centerStage.enabled","typeLabel":"boolean"},"displayName":{"oneOf":[{"type":"string","maxLength":100,"description":"Name shown in the widget header. Defaults to the agent name (max 100 chars)","uniqueKey":"styles.centerStage.displayName.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":100,"description":"Name shown in the widget header. Defaults to the agent name (max 100 chars)","uniqueKey":"styles.centerStage.displayName.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.displayName","typeLabel":"string | null"},"welcomeMessage":{"oneOf":[{"type":"string","maxLength":500,"description":"Greeting text shown above the message input when the conversation is empty (max 500 chars)","uniqueKey":"styles.centerStage.welcomeMessage.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"Greeting text shown above the message input when the conversation is empty (max 500 chars)","uniqueKey":"styles.centerStage.welcomeMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.welcomeMessage","typeLabel":"string | null"},"messagePlaceholder":{"oneOf":[{"type":"string","maxLength":200,"description":"Placeholder text inside the message input field (max 200 chars)","uniqueKey":"styles.centerStage.messagePlaceholder.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":200,"description":"Placeholder text inside the message input field (max 200 chars)","uniqueKey":"styles.centerStage.messagePlaceholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.messagePlaceholder","typeLabel":"string | null"},"dismissableNotice":{"oneOf":[{"type":"string","maxLength":500,"description":"Text shown in a dismissable banner inside the widget. Empty string = hidden (max 500 chars)","uniqueKey":"styles.centerStage.dismissableNotice.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"Text shown in a dismissable banner inside the widget. Empty string = hidden (max 500 chars)","uniqueKey":"styles.centerStage.dismissableNotice.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.dismissableNotice","typeLabel":"string | null"},"footer":{"oneOf":[{"type":"string","maxLength":500,"description":"Small text below the input bar, e.g. branding or legal notice (max 500 chars)","uniqueKey":"styles.centerStage.footer.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"Small text below the input bar, e.g. branding or legal notice (max 500 chars)","uniqueKey":"styles.centerStage.footer.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.footer","typeLabel":"string | null"},"suggestedMessages":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","required":["text","type","order"],"properties":{"text":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.0.text","typeLabel":"string"},"type":{"type":"string","enum":["single"],"isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"order":{"type":"number","isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.0.order","typeLabel":"number"},"icon":{"oneOf":[{"type":"string","uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.0.icon.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.0.icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.0.icon","typeLabel":"string | null"}},"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["name","type","order","items"],"properties":{"name":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.name","typeLabel":"string"},"type":{"type":"string","enum":["nested"],"isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"order":{"type":"number","isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.order","typeLabel":"number"},"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].text","typeLabel":"string"},"order":{"type":"number","isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].order","typeLabel":"number"},"icon":{"oneOf":[{"type":"string","uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].icon.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX].icon","typeLabel":"string | null"}},"required":["text","order"],"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.\\items.items.[INDEX]","typeLabel":"object"},"minItems":1,"maxItems":20,"isRequired":true,"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.\\items","typeLabel":"object[]"},"icon":{"oneOf":[{"type":"string","uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.icon.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.icon.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1.icon","typeLabel":"string | null"}},"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Quick-reply buttons shown to the user at the start of the conversation","uniqueKey":"styles.centerStage.suggestedMessages.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"oneOf":[{"type":"object","required":["text","type","order"],"properties":{"text":{"type":"string","minLength":1},"type":{"type":"string","enum":["single"]},"order":{"type":"number"},"icon":{"oneOf":[{"type":"string"},{"type":"null"}]}}},{"type":"object","required":["name","type","order","items"],"properties":{"name":{"type":"string","minLength":1},"type":{"type":"string","enum":["nested"]},"order":{"type":"number"},"icon":{"oneOf":[{"type":"string"},{"type":"null"}]},"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1},"order":{"type":"number"},"icon":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["text","order"]},"minItems":1,"maxItems":20}}}]},"description":"Quick-reply buttons shown to the user at the start of the conversation","uniqueKey":"styles.centerStage.suggestedMessages.oneOf.1","typeLabel":"null"}],"uniqueKey":"styles.centerStage.suggestedMessages","typeLabel":"object[] | null"},"showChatBubble":{"type":"boolean","description":"Wrap agent messages in a chat bubble style","uniqueKey":"styles.centerStage.showChatBubble","typeLabel":"boolean"},"showAttachments":{"type":"boolean","description":"Allow users to attach files to their messages","uniqueKey":"styles.centerStage.showAttachments","typeLabel":"boolean"},"showDictation":{"type":"boolean","description":"Show a microphone button for speech-to-text input","uniqueKey":"styles.centerStage.showDictation","typeLabel":"boolean"},"showVoiceMode":{"type":"boolean","description":"Show the voice-conversation mode button","uniqueKey":"styles.centerStage.showVoiceMode","typeLabel":"boolean"},"showCopyButton":{"type":"boolean","description":"Show a copy-to-clipboard button on agent messages","uniqueKey":"styles.centerStage.showCopyButton","typeLabel":"boolean"},"showFeedback":{"type":"boolean","description":"Show thumbs-up / thumbs-down feedback buttons on agent messages","uniqueKey":"styles.centerStage.showFeedback","typeLabel":"boolean"},"showDataSource":{"type":"boolean","description":"Show the source citation below agent messages","uniqueKey":"styles.centerStage.showDataSource","typeLabel":"boolean"},"theme":{"type":"string","enum":["light","dark"],"description":"Widget color theme","example":"light","uniqueKey":"styles.centerStage.theme","typeLabel":"enum\u003cstring>"},"buttonColor":{"type":"string","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","description":"Primary accent / send-button color (hex)","uniqueKey":"styles.centerStage.buttonColor","typeLabel":"string"},"headerColor":{"type":"string","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","description":"Header bar background color (hex)","uniqueKey":"styles.centerStage.headerColor","typeLabel":"string"},"userMessageColor":{"type":"string","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","description":"User message bubble background color (hex)","uniqueKey":"styles.centerStage.userMessageColor","typeLabel":"string"},"tintedGrayscale":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether tinted grayscale is active","isRequired":true,"uniqueKey":"styles.centerStage.tintedGrayscale.enabled","typeLabel":"boolean"},"hue":{"type":"number","minimum":0,"maximum":360,"description":"Base hue for the grayscale tint (0–360°)","example":220,"isRequired":true,"uniqueKey":"styles.centerStage.tintedGrayscale.hue","typeLabel":"number"},"tint":{"type":"number","minimum":0,"maximum":10,"description":"Amount of hue mixed into lighter tones (0–10)","example":3,"isRequired":true,"uniqueKey":"styles.centerStage.tintedGrayscale.tint","typeLabel":"number"},"shade":{"type":"number","minimum":0,"maximum":10,"description":"Amount of hue mixed into darker tones (0–10)","example":3,"isRequired":true,"uniqueKey":"styles.centerStage.tintedGrayscale.shade","typeLabel":"number"}},"required":["enabled","hue","tint","shade"],"description":"Tinted grayscale palette. When enabled the widget uses shades of a single hue instead of neutral gray","uniqueKey":"styles.centerStage.tintedGrayscale","typeLabel":"object"},"accentColor":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the custom accent color is active","isRequired":true,"uniqueKey":"styles.centerStage.accentColor.enabled","typeLabel":"boolean"},"color":{"type":"string","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","description":"Accent color applied to interactive elements (hex)","isRequired":true,"uniqueKey":"styles.centerStage.accentColor.color","typeLabel":"string"}},"required":["enabled","color"],"description":"Custom accent color override for interactive elements","uniqueKey":"styles.centerStage.accentColor","typeLabel":"object"},"customSurfaceColors":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether custom surface colors are active","isRequired":true,"uniqueKey":"styles.centerStage.customSurfaceColors.enabled","typeLabel":"boolean"},"background":{"type":"string","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","description":"Widget background color (hex)","isRequired":true,"uniqueKey":"styles.centerStage.customSurfaceColors.background","typeLabel":"string"},"foreground":{"type":"string","pattern":"^#([0-9A-F]{3}){1,2}$/i","example":"#1A2B3C","description":"Primary text color on the background (hex)","isRequired":true,"uniqueKey":"styles.centerStage.customSurfaceColors.foreground","typeLabel":"string"}},"required":["enabled","background","foreground"],"description":"Override the widget background and foreground colors","uniqueKey":"styles.centerStage.customSurfaceColors","typeLabel":"object"},"typography":{"type":"object","properties":{"fontFamily":{"type":"string","enum":["Inter","System","Arial","Helvetica","Georgia","Geist"],"description":"Widget font family","example":"Inter","isRequired":true,"uniqueKey":"styles.centerStage.typography.fontFamily","typeLabel":"enum\u003cstring>"},"fontSize":{"type":"string","enum":["12px","14px","16px","18px","20px"],"description":"Widget base font size","example":"16px","isRequired":true,"uniqueKey":"styles.centerStage.typography.fontSize","typeLabel":"enum\u003cstring>"}},"required":["fontFamily","fontSize"],"description":"Widget font family and size","uniqueKey":"styles.centerStage.typography","typeLabel":"object"},"width":{"type":"string","enum":["small","medium","large"],"description":"Widget width preset (small ≈ 360 px, medium ≈ 420 px, large ≈ 520 px)","example":"medium","uniqueKey":"styles.centerStage.width","typeLabel":"enum\u003cstring>"},"closeOnOutsideClick":{"type":"boolean","description":"Close the widget when the user clicks outside of it","uniqueKey":"styles.centerStage.closeOnOutsideClick","typeLabel":"boolean"},"notificationIndicator":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the notification badge is shown","isRequired":true,"uniqueKey":"styles.centerStage.notificationIndicator.enabled","typeLabel":"boolean"},"number":{"type":"integer","minimum":0,"maximum":99,"description":"Number displayed in the badge (0–99)","example":3,"isRequired":true,"uniqueKey":"styles.centerStage.notificationIndicator.number","typeLabel":"integer"}},"required":["enabled","number"],"description":"Numeric badge on the launcher to draw attention before the user opens the widget","uniqueKey":"styles.centerStage.notificationIndicator","typeLabel":"object"},"notificationMessage":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the notification message bubble is shown","isRequired":true,"uniqueKey":"styles.centerStage.notificationMessage.enabled","typeLabel":"boolean"},"text":{"type":"string","maxLength":200,"description":"Message text displayed in the bubble (max 200 chars)","isRequired":true,"uniqueKey":"styles.centerStage.notificationMessage.text","typeLabel":"string"}},"required":["enabled","text"],"description":"Floating message bubble next to the launcher shown before the user opens the widget","uniqueKey":"styles.centerStage.notificationMessage","typeLabel":"object"}},"description":"Center stage widget styles","uniqueKey":"styles.centerStage","typeLabel":"object"}},"isRequired":true,"uniqueKey":"styles","typeLabel":"object"}},"required":["styles"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"styles":{"chat":{"theme":"light","headerColor":"#1A2B3C","userMessageColor":"#1A2B3C","buttonColor":"#1A2B3C","displayName":"\u003cstring>","autoOpenChatWindowAfter":5,"mobile":{"initialMessages":{"enabled":true,"value":["\u003cstring>"]},"autoOpenChatWindowAfter":{"enabled":true,"value":123},"showAutoOpen":true},"alignChatButton":"right","messagePlaceholder":"\u003cstring>","footer":"\u003cstring>","showFeedback":true,"showCopyButton":true,"dismissableNotice":"\u003cstring>","showDictation":true,"showAttachments":true,"showVoiceMode":true},"centerStage":{"enabled":true,"displayName":"\u003cstring>","welcomeMessage":"\u003cstring>","messagePlaceholder":"\u003cstring>","dismissableNotice":"\u003cstring>","footer":"\u003cstring>","suggestedMessages":[{"text":"\u003cstring>","type":"single","order":123,"icon":"\u003cstring>"}],"showChatBubble":true,"showAttachments":true,"showDictation":true,"showVoiceMode":true,"showCopyButton":true,"showFeedback":true,"showDataSource":true,"theme":"light","buttonColor":"#1A2B3C","headerColor":"#1A2B3C","userMessageColor":"#1A2B3C","width":"medium","closeOnOutsideClick":true}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"78b8ce59-e42f-4a80-9961-c88d97886bf7":{"description":"Styles updated","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"}},"required":["success"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"b8b7872b-3df2-4357-a160-0f6a27464047":{"description":"The request body failed schema validation. Inspect the `details` object in the error response for field-level errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.details.additionalProperties","typeLabel":"string"},"description":"Field-level validation errors","uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"VALIDATION_INVALID_BODY","message":"Invalid request"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"VALIDATION_INVALID_BODY","message":"Invalid request"}}}},"exampleType":"examples"}},"exampleType":"examples"},"fed6ad12-9d92-483f-92bd-5a0c8af4e666":{"description":"No Authorization header present. Provide a valid API key as a Bearer token in the Authorization header: `Authorization: Bearer \u003capi-key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.details.additionalProperties","typeLabel":"string"},"description":"Field-level validation errors","uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"AUTH_MISSING_API_KEY","message":"Authentication required"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"AUTH_MISSING_API_KEY","message":"Authentication required"}}}},"exampleType":"examples"}},"exampleType":"examples"},"e2ac49c5-d11c-4e52-94c0-bed1cc347bb9":{"description":"Your current plan does not include API access. Upgrade to the Basic plan or higher to use the API.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.details.additionalProperties","typeLabel":"string"},"description":"Field-level validation errors","uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"SUBSCRIPTION_API_RESTRICTED_PLAN","message":"A Basic plan or higher is required to access the API"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"SUBSCRIPTION_API_RESTRICTED_PLAN","message":"A Basic plan or higher is required to access the API"}}}},"exampleType":"examples"}},"exampleType":"examples"},"923de238-0a63-4324-bc28-10aed0028168":{"description":"No agent matches the provided `agentId`, or it does not belong to the authenticated account.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.details.additionalProperties","typeLabel":"string"},"description":"Field-level validation errors","uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"AGENT_NOT_FOUND","message":"Agent not found"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"AGENT_NOT_FOUND","message":"Agent not found"}}}},"exampleType":"examples"}},"exampleType":"examples"},"76bef05d-64f2-4de4-b821-1f83922e1411":{"description":"Rate limit exceeded. Check the `X-RateLimit-Reset` response header for the Unix epoch seconds when the limit resets.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.details.additionalProperties","typeLabel":"string"},"description":"Field-level validation errors","uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"RATE_LIMIT_TOO_MANY_REQUESTS","message":"Too many requests, please try again later"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"RATE_LIMIT_TOO_MANY_REQUESTS","message":"Too many requests, please try again later"}}}},"exampleType":"examples"}},"exampleType":"examples"},"75b6af2e-1d3e-423b-8a3f-3b425e852f07":{"description":"An unhandled server error occurred. If the issue persists, contact support with the `x-request-id` response header value for debugging.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.details.additionalProperties","typeLabel":"string"},"description":"Field-level validation errors","uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something went wrong, please try again"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something went wrong, please try again"}}}},"exampleType":"examples"}},"exampleType":"examples"},"ea486593-0126-4158-a24b-4bfd94dae9ac":{"description":"Chatbase is undergoing scheduled maintenance and the API is temporarily rejecting requests. This is transient; retry after a short delay. Requests are rejected before any data is read or written, so no partial changes are applied.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.details.additionalProperties","typeLabel":"string"},"description":"Field-level validation errors","uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"SERVICE_UNDER_MAINTENANCE","message":"The API is temporarily unavailable for scheduled maintenance, please try again later"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"SERVICE_UNDER_MAINTENANCE","message":"The API is temporarily unavailable for scheduled maintenance, please try again later"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"f4559f35-bb3a-4b98-b164-804f91497e21":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key from your account settings","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"131cbcde-68c0-4c82-baf4-8793c7424f12":{"url":"https://www.chatbase.co/api/v2","description":"Chatbase API v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key from your account settings","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key from your account settings","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-v2-openapi.json"},"subdomain":"chatbase","siteName":"Chatbase","title":"Update agent styles - Chatbase","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T09:49:25.396Z","originalFileLocation":"api-reference/v2/agents/update-agent-styles.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates the visual styles for an agent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Chatbase\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update agent styles - Chatbase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates the visual styles for an agent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Chatbase\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chatbase.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Update+agent+styles\u0026amp;description=Updates+the+visual+styles+for+an+agent.\u0026amp;theme=8967705c05e833213354143b\u0026amp;signature=28ee97381654f45da6b3a2c4ea8528b0f57acef2e0a9192353fb86b6f459b39f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update agent styles - Chatbase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates the visual styles for an agent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chatbase.mintlify.app/_mintlify/api/og/v2?division=Agents\u0026amp;title=Update+agent+styles\u0026amp;description=Updates+the+visual+styles+for+an+agent.\u0026amp;theme=8967705c05e833213354143b\u0026amp;signature=28ee97381654f45da6b3a2c4ea8528b0f57acef2e0a9192353fb86b6f459b39f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/chatbase/sZYcuOsK-Dv6V9lc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Chatbase\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#18181b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/v2/agents/update-agent-styles.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.chatbase.co/#organization\",\"name\":\"Chatbase\",\"url\":\"https://www.chatbase.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chatbase/pJU9vM3D9oN_YQME/logo/light.svg?fit=max\u0026auto=format\u0026n=pJU9vM3D9oN_YQME\u0026q=85\u0026s=a45a73af7ac778cd0920dbb6ad1aaa93\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.chatbase.co/docs#website\",\"name\":\"Chatbase\",\"url\":\"https://www.chatbase.co/docs\",\"publisher\":{\"@id\":\"https://www.chatbase.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles#webpage\",\"url\":\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles\",\"name\":\"Update agent styles\",\"description\":\"Updates the visual styles for an agent.\",\"dateModified\":\"2026-10-27T09:49:25.396Z\",\"isPartOf\":{\"@id\":\"https://www.chatbase.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://www.chatbase.co/docs/api-reference/v2/health/health-check\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agents\",\"item\":\"https://www.chatbase.co/docs/api-reference/v2/agents/list-agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update agent styles\",\"item\":\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles#apireference\",\"headline\":\"Update agent styles\",\"name\":\"Update agent styles\",\"description\":\"Updates the visual styles for an agent.\",\"url\":\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles\",\"mainEntityOfPage\":{\"@id\":\"https://www.chatbase.co/docs/api-reference/v2/agents/update-agent-styles#webpage\"},\"dateModified\":\"2026-10-27T09:49:25.396Z\",\"publisher\":{\"@id\":\"https://www.chatbase.co/#organization\"},\"isPartOf\":{\"@id\":\"https://www.chatbase.co/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Chatbase\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Chatbase","nav":{"global":null,"tabs":[{"tab":"User Guide","pages":[{"title":"User Guide","href":"/user-guides/quick-start/introduction"}]},{"tab":"Developer Guide","pages":[{"title":"Developer Guide","href":"/developer-guides/overview"}]},{"tab":"API Reference","dropdowns":[{"dropdown":"API v2","icon":"code","groups":[{"group":"Getting Started","pages":[{"title":"API v2 Overview","sidebarTitle":"Overview","href":"/api-reference/v2/overview"},{"title":"Authentication","href":"/api-reference/v2/authentication"},{"title":"Streaming","href":"/api-reference/v2/streaming"},{"title":"Error Handling","href":"/api-reference/v2/error-handling"},{"title":"Pagination","href":"/api-reference/v2/pagination"}]},{"group":"Guides","pages":[{"title":"Agents","href":"/api-reference/v2/agents"},{"title":"User Conversations","href":"/api-reference/v2/user-conversations"},{"title":"Conversation Search","href":"/api-reference/v2/conversation-search"},{"title":"Sources","href":"/api-reference/v2/sources"},{"title":"Helpdesk","href":"/api-reference/v2/helpdesk"},{"title":"WhatsApp","href":"/api-reference/v2/whatsapp"},{"title":"Voice Sessions","href":"/api-reference/v2/voice"},{"title":"Client Actions","href":"/api-reference/v2/client-actions"}]},{"group":"Endpoints","pages":[{"group":"Health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /health","href":"/api-reference/v2/health/health-check"}]},{"group":"Agents","pages":[{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents","href":"/api-reference/v2/agents/list-agents"},{"title":"Create agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents","href":"/api-reference/v2/agents/create-agent"},{"title":"Get agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}","href":"/api-reference/v2/agents/get-agent"},{"title":"Update agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}","href":"/api-reference/v2/agents/update-agent"},{"title":"Delete agent","description":"Permanently deletes an agent and all its sources. Also disconnects any active integrations (Slack, WhatsApp, etc.). This action is irreversible.","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json delete /agents/{agentId}","href":"/api-reference/v2/agents/delete-agent"},{"title":"Update agent styles","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}/styles","href":"/api-reference/v2/agents/update-agent-styles"},{"title":"Toggle auto-retrain","description":"Enables or disables automatic retraining. When enabled, the agent retrains every 7 days to reflect any source changes.\n\nRequirements:\n- The agent must have been trained at least once — returns `AGENT_NOT_TRAINED` (409) otherwise.\n- Requires the Basic plan or higher — returns `PLAN_FEATURE_NOT_AVAILABLE` (403) on unsupported plans.","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}/auto-retrain","href":"/api-reference/v2/agents/toggle-auto-retrain"},{"title":"Clone agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/clone","href":"/api-reference/v2/agents/clone-agent"},{"title":"Train agent (deprecated)","deprecated":true,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/train","href":"/api-reference/v2/agents/train-agent-deprecated"},{"title":"Chat with an agent","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/chat","href":"/api-reference/v2/agents/chat-with-an-agent"},{"title":"Retry a message","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/conversations/{conversationId}/retry","href":"/api-reference/v2/agents/retry-a-message"},{"title":"Start a voice session","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/voice/sessions","href":"/api-reference/v2/agents/start-a-voice-session"},{"title":"Submit a tool result","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/conversations/{conversationId}/tool-result","href":"/api-reference/v2/agents/submit-a-tool-result"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations","href":"/api-reference/v2/conversations/list-conversations"},{"title":"Export conversations","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations/export","href":"/api-reference/v2/conversations/export-conversations"},{"title":"Search conversations","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations/search","href":"/api-reference/v2/conversations/search-conversations"},{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations/{conversationId}","href":"/api-reference/v2/conversations/get-a-conversation"},{"title":"Update conversation status","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json patch /agents/{agentId}/conversations/{conversationId}","href":"/api-reference/v2/conversations/update-conversation-status"},{"title":"List conversation messages","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/conversations/{conversationId}/messages","href":"/api-reference/v2/conversations/list-conversation-messages"},{"title":"List conversations for a user","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/users/{userId}/conversations","href":"/api-reference/v2/conversations/list-conversations-for-a-user"},{"title":"Update message feedback","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json patch /agents/{agentId}/conversations/{conversationId}/messages/{messageId}/feedback","href":"/api-reference/v2/conversations/update-message-feedback"}]},{"group":"Sources","pages":[{"title":"Get sources summary","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/sources/summary","href":"/api-reference/v2/sources/get-sources-summary"},{"title":"List sources","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/sources","href":"/api-reference/v2/sources/list-sources"},{"title":"Create source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/sources","href":"/api-reference/v2/sources/create-source"},{"title":"Get source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/sources/{sourceId}","href":"/api-reference/v2/sources/get-source"},{"title":"Update source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /agents/{agentId}/sources/{sourceId}","href":"/api-reference/v2/sources/update-source"},{"title":"Delete source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json delete /agents/{agentId}/sources/{sourceId}","href":"/api-reference/v2/sources/delete-source"},{"title":"Restore source (deprecated)","deprecated":true,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/sources/{sourceId}/restore","href":"/api-reference/v2/sources/restore-source-deprecated"},{"title":"Create file source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /api/v2/agents/{agentId}/sources","href":"/api-reference/v2/sources/create-file-source"},{"title":"Update file source","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json put /api/v2/agents/{agentId}/sources/{sourceId}","href":"/api-reference/v2/sources/update-file-source"}]},{"group":"WhatsApp","pages":[{"title":"List WhatsApp templates","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/whatsapp/templates","href":"/api-reference/v2/whatsapp/list-whatsapp-templates"},{"title":"Send a WhatsApp template message","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/whatsapp/messages/template","href":"/api-reference/v2/whatsapp/send-a-whatsapp-template-message"}]},{"group":"Helpdesk","pages":[{"title":"List ticket statuses","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/ticket-statuses","href":"/api-reference/v2/helpdesk/list-ticket-statuses"},{"title":"List teams","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/teams","href":"/api-reference/v2/helpdesk/list-teams"},{"title":"List tickets","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/tickets","href":"/api-reference/v2/helpdesk/list-tickets"},{"title":"Create a ticket","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/helpdesk/tickets","href":"/api-reference/v2/helpdesk/create-a-ticket"},{"title":"Search tickets","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/helpdesk/tickets/search","href":"/api-reference/v2/helpdesk/search-tickets"},{"title":"Get a ticket","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/tickets/{ticketNumber}","href":"/api-reference/v2/helpdesk/get-a-ticket"},{"title":"Update a ticket","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json patch /agents/{agentId}/helpdesk/tickets/{ticketNumber}","href":"/api-reference/v2/helpdesk/update-a-ticket"},{"title":"List ticket messages","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json get /agents/{agentId}/helpdesk/tickets/{ticketNumber}/messages","href":"/api-reference/v2/helpdesk/list-ticket-messages"},{"title":"Add a message to a ticket","deprecated":null,"version":null,"openapi":"/api-v2-openapi.json post /agents/{agentId}/helpdesk/tickets/{ticketNumber}/messages","href":"/api-reference/v2/helpdesk/add-a-message-to-a-ticket"}]}]}]},{"dropdown":"API v1","icon":"box-archive","groups":[{"group":"Getting Started","pages":[{"title":"API v1 Overview","sidebarTitle":"Overview","href":"/api-reference/v1/overview"}]},{"group":"Endpoints","pages":[{"group":"Chat","pages":[{"title":"Chat with a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml post /chat","href":"/api-reference/v1/chat/chat-with-a-chatbot"}]},{"group":"Chatbots","pages":[{"title":"Create a new chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml post /create-chatbot","href":"/api-reference/v1/chatbots/create-a-new-chatbot"},{"title":"Get all chatbots","deprecated":null,"version":null,"openapi":"/openapi.yaml get /get-chatbots","href":"/api-reference/v1/chatbots/get-all-chatbots"},{"title":"Delete a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /delete-chatbot","href":"/api-reference/v1/chatbots/delete-a-chatbot"},{"title":"Update a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml post /update-chatbot-data","href":"/api-reference/v1/chatbots/update-a-chatbot"},{"title":"Update chatbot settings","deprecated":null,"version":null,"openapi":"/openapi.yaml post /update-chatbot-settings","href":"/api-reference/v1/chatbots/update-chatbot-settings"}]},{"group":"Conversations","pages":[{"title":"Get conversations for a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /get-conversations","href":"/api-reference/v1/conversations/get-conversations-for-a-chatbot"}]},{"group":"Leads","pages":[{"title":"Get leads for a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /get-leads","href":"/api-reference/v1/leads/get-leads-for-a-chatbot"}]},{"group":"Assets","pages":[{"title":"Upload chatbot icon","deprecated":null,"version":null,"openapi":"/openapi.yaml post /upload-chatbot-icon","href":"/api-reference/v1/assets/upload-chatbot-icon"},{"title":"Upload chatbot profile picture","deprecated":null,"version":null,"openapi":"/openapi.yaml post /upload-chatbot-profile-picture","href":"/api-reference/v1/assets/upload-chatbot-profile-picture"},{"title":"Delete chatbot icon","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /delete-chatbot-icon","href":"/api-reference/v1/assets/delete-chatbot-icon"},{"title":"Delete chatbot profile picture","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /delete-chatbot-profile-picture","href":"/api-reference/v1/assets/delete-chatbot-profile-picture"}]},{"group":"Contacts","pages":[{"title":"Get contacts for a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /chatbots/{chatbotId}/contacts","href":"/api-reference/v1/contacts/get-contacts-for-a-chatbot"},{"title":"Create contacts for a chatbot","deprecated":null,"version":null,"openapi":"/openapi.yaml post /chatbots/{chatbotId}/contacts","href":"/api-reference/v1/contacts/create-contacts-for-a-chatbot"},{"title":"Get a specific contact","deprecated":null,"version":null,"openapi":"/openapi.yaml get /chatbots/{chatbotId}/contacts/{contactId}","href":"/api-reference/v1/contacts/get-a-specific-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /chatbots/{chatbotId}/contacts/{contactId}","href":"/api-reference/v1/contacts/delete-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /chatbots/{chatbotId}/contacts/{contactId}","href":"/api-reference/v1/contacts/update-a-contact"},{"title":"Get custom attributes schema","deprecated":null,"version":null,"openapi":"/openapi.yaml get /chatbots/{chatbotId}/custom-attributes","href":"/api-reference/v1/contacts/get-custom-attributes-schema"},{"title":"Create custom attribute","deprecated":null,"version":null,"openapi":"/openapi.yaml post /chatbots/{chatbotId}/custom-attributes","href":"/api-reference/v1/contacts/create-custom-attribute"},{"title":"Update custom attribute","deprecated":null,"version":null,"openapi":"/openapi.yaml put /chatbots/{chatbotId}/custom-attributes/{name}","href":"/api-reference/v1/contacts/update-custom-attribute"}]}]}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"Help \u0026 Support","pages":[{"title":"Help \u0026 Support","href":"/faq/faq"}]}]},"title":"Update agent styles - Chatbase","buildId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","deploymentId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bg4Z7D_G.js","utils-Biz734EK.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C6F9YHs6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BoJjY_VP.js","snippetPresets-CnZ-mOFh.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-DC_SB2pp.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BYKtOiIP.js","shallow-COAac_UD.js","getApiPlaygroundDisplay-BV4Viqi2.js","CodeSnippet-DDgW-JXl.js","CodeSnippets-CP1LpNhG.js","Page-BeiUfucV.js","getPastedJson-Cvgvbfmv.js","icon-D-H368xH.js","MethodPill-CXSxH1VW.js","DuplicateIcon-JcbBzF1x.js","createIcon-BDt_aHZM.js","DynamicMarkdown-DO1Fz7ar.js","SectionHeading-mwKBArs3.js","axios-vUo_bRtp.js","Markdown-C3KUTGJN.js","clsx-C6CAjViH.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C3vb5JQZ.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C8Hisf3g.js"]}