Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.
Use these commands to create a chatbot, get its embed code, check how it is doing, and transfer or delete it. Most other CLI commands need the chatbot ID, so start with Find your chatbot ID.For every option of every command, see the command reference.
The Growth plan or above, on your own account or on the account that owns the chatbot. See Which plan applies. To create a chatbot, your own plan must be Growth or above.
sitegpt chatbots create "Support Bot" --description "Answers customer support questions"
You can also pass the title with --title "Support Bot". Add --json to get the new ID in JSON.Check that it works: The CLI prints Created chatbot Support Bot (ID). The new chatbot shows in sitegpt chatbots list.Next, add content to the chatbot. See Manage content.
The output has the chat link, the widget script URL, and the embed code. To add the embed code to your website, see Add the chatbot to your website.Check that it works: Open the chat link in a browser. The chatbot opens and answers a test question. If the chatbot has Allowed Domains, the chat link shows “This chat opens on its website” when you open it directly. Test on your website, or select Chat with your chatbot on the chatbot’s Dashboard page.
The output shows totals for the range, such as widget opens, conversations started, unique visitors, escalations, and leads. It compares them with the previous period. Add --json to also get the daily series.
Dates are UTC days in the format YYYY-MM-DD.
If you leave out --start and --end, the range is the last 30 days.
Your plan must include analytics. If it does not, the command fails with 403 and the code ANALYTICS_LOCKED.
Insight counters show only when your plan includes insights.
See Plans and limits.Check that it works: The first line shows the range that you asked for, for example Range: 2026-08-01 to 2026-08-19 (UTC).
Only a Super Admin of the chatbot can transfer it. The owner is always a Super Admin. The token needs the chatbots:write, members:write, and members:delete scopes.The command asks for the transfer. The chatbot moves only when the new owner accepts. For the whole flow, see Transfer a chatbot to another owner.
sitegpt chatbots transfer YOUR_CHATBOT_ID --email new-owner@example.com
SiteGPT emails the new owner. They accept or decline on the Chatbots page of the dashboard, under Pending Transfers, or with API v2. The CLI has no command to accept.
SiteGPT does not create an account for the new owner. They sign in with the email address that you used.
The request stays open for 7 days. A chatbot has one open request. Running the command again replaces it.
When the new owner accepts, they become a Super Admin of the chatbot. By default, SiteGPT then removes the previous owner from the chatbot.
To keep the previous owner as a team member, add --keep-source-as with a role: AGENT, MANAGER, ADMIN, or SUPER_ADMIN. This adds a team member, so it counts toward the member limit. SiteGPT checks for a free seat when you send the request and again when the new owner accepts.
To use a user ID instead of an email, pass --user-id YOUR_USER_ID.
sitegpt chatbots transfer YOUR_CHATBOT_ID --email teammate@example.com --keep-source-as ADMIN
Use CLI 0.7.0 or later. CLI 0.6.1 and earlier send the request and the email, and then print an error such as Cannot read properties of undefined (reading 'previousOwnerRemoved'), because they expect the answer of the old transfer. The request was still made. Do not run the command again to fix this error, because a new request replaces the first one and sends a second email. Update the CLI with npm install -g @sitegpt/cli.
Check that it works: The CLI prints Transfer of chatbot, the title, the ID, and sent to with the new owner’s email address. It then says what happens to the previous owner when the new owner accepts, and when the request expires. It adds replacing the open one when the command replaced an open request. With --json, data.transfer.status is pending, and data.replacedPendingTransfer is true when the command replaced an open request.To check or cancel the request, use API v2. See Check or cancel the request.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SiteGPT Docs","colors":{"primary":"#155DEE","light":"#155DEE","dark":"#155DEE"},"logo":{"light":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/light.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=0a0dcfea4d0990c3ee53df5fdc5fbb62","dark":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/dark.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=2111fa1fed2bc70d40aee0cd58f47f89"},"favicon":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=308eee623c00dfa6887d41e68491d7b5","api":{"openapi":["https://sitegpt.ai/openapi.yaml","https://sitegpt.ai/api/v2/openapi.json"],"playground":{"display":"interactive"},"mdx":{"server":"https://sitegpt.ai/api"}},"appearance":{"default":"light","strict":true},"background":{"color":{"dark":"#155DEE"}},"navbar":{"links":[{"href":"mailto:support@sitegpt.ai","label":"Support"}],"primary":{"type":"button","label":"Create Your Chatbot Now","href":"https://sitegpt.ai/pricing"}},"footer":{"socials":{"website":"https://sitegpt.ai","twitter":"https://twitter.com/SiteGPT","linkedin":"https://www.linkedin.com/company/SiteGPT","youtube":"https://www.youtube.com/@sitegpt"}},"seo":{"metatags":{"canonical":"https://sitegpt.ai/docs"}},"integrations":{"fathom":{"siteId":"TULDUMHD"},"ga4":{"measurementId":"G-BJ7Q0301KD"},"posthog":{"apiKey":"phc_qA4nP6k87ZHKpJ5paJmtAs1WJLxYL4lz2lOcHCX5sjy","apiHost":"https://sitegpt.ai/ph-j52x"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sitegpt","hasAudioNarration":false,"actualSubdomain":"sitegpt","customDomains":["sitegpt.ai"],"gitSource":{"type":"github","owner":"sitegpt","repo":"sitegpt-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af21e57f08ebb05e1e3ec15","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":185},{"language":"default","tag":"Documentation","count":66},{"language":"default","tag":"Changelog","count":46},{"language":"default","tag":"Chatbots","count":19},{"language":"default","tag":"CLI","count":19},{"language":"default","tag":"Knowledge","count":14},{"language":"default","tag":"Conversations","count":13},{"language":"default","tag":"Personas","count":12},{"language":"default","tag":"Instructions","count":12},{"language":"default","tag":"Get started","count":12}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"cli/chatbots","slug":"/cli/chatbots","pageMetadata":{"title":"Manage chatbots with the CLI","sidebarTitle":"Chatbots","icon":"message-bot","description":"Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.","href":"/cli/chatbots"},"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: \"Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use these commands to create a chatbot, get its embed code, check how it is doing, and transfer or delete it. Most other CLI commands need the chatbot ID, so start with `,_jsx(_components.a,{href:`#find-your-chatbot-id`,children:`Find your chatbot ID`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`For every option of every command, see the `,_jsx(_components.a,{href:`/cli/command-reference#chatbots`,children:`command reference`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The Growth plan or above, on your own account or on the account that owns the chatbot. See `,_jsx(_components.a,{href:`/developers/authentication#which-plan-applies`,children:`Which plan applies`}),`. To create a chatbot, your own plan must be Growth or above.`]}),`\n`,_jsxs(_components.li,{children:[`The CLI installed and logged in. See `,_jsx(_components.a,{href:`/cli/install-login`,children:`Install and log in`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`The default access from `,_jsx(_components.code,{children:`sitegpt login`}),` is enough for the tasks on this page. Your role on the chatbot must also allow the action. See `,_jsx(_components.a,{href:`/developers/authentication`,children:`Authentication`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`find-your-chatbot-id`,children:`Find your chatbot ID`}),`\n`,_jsx(_components.p,{children:`List your chatbots:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chatbots`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`To save the ID of the first chatbot in a shell variable, use JSON output and `,_jsx(_components.code,{children:`jq`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CHATBOT_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chatbots`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.data.chatbots[0].id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check that it works:`}),` Run `,_jsx(_components.code,{children:`sitegpt chatbots get YOUR_CHATBOT_ID`}),`. The output shows the chatbot title, the ID, and the owner email.`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-chatbot`,children:`Create a chatbot`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chatbots`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Support Bot\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --description`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Answers customer support questions\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`You can also pass the title with `,_jsx(_components.code,{children:`--title \"Support Bot\"`}),`. Add `,_jsx(_components.code,{children:`--json`}),` to get the new ID in JSON.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check that it works:`}),` The CLI prints `,_jsx(_components.code,{children:`Created chatbot Support Bot (ID).`}),` The new chatbot shows in `,_jsx(_components.code,{children:`sitegpt chatbots list`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Next, add content to the chatbot. See `,_jsx(_components.a,{href:`/cli/knowledge`,children:`Manage content`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`rename-a-chatbot-or-change-its-description`,children:`Rename a chatbot or change its description`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chatbots`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_CHATBOT_ID`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --title`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Help Center Bot\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --description`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Answers help center questions\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`You can pass `,_jsx(_components.code,{children:`--title`}),`, `,_jsx(_components.code,{children:`--description`}),`, or both.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check that it works:`}),` The CLI prints `,_jsx(_components.code,{children:`Updated chatbot Help Center Bot (ID).`})]}),`\n`,_jsx(Heading,{level:`2`,id:`get-the-embed-code`,children:`Get the embed code`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` installation`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` snippet`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chatbot`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_CHATBOT_ID`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The output has the chat link, the widget script URL, and the embed code. To add the embed code to your website, see `,_jsx(_components.a,{href:`/guides/install/add-to-website`,children:`Add the chatbot to your website`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check that it works:`}),` Open the chat link in a browser. The chatbot opens and answers a test question. If the chatbot has `,_jsx(_components.strong,{children:`Allowed Domains`}),`, the chat link shows “This chat opens on its website” when you open it directly. Test on your website, or select `,_jsx(_components.strong,{children:`Chat with your chatbot`}),` on the chatbot’s `,_jsx(_components.strong,{children:`Dashboard`}),` page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`check-training-and-feedback`,children:`Check training and feedback`}),`\n`,_jsx(_components.p,{children:`Get a summary of one chatbot:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dashboard`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chatbot`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_CHATBOT_ID`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The summary shows:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The training state`}),`\n`,_jsx(_components.li,{children:`The total, trained, pending, and failed document counts`}),`\n`,_jsx(_components.li,{children:`The link, file, and page counts`}),`\n`,_jsx(_components.li,{children:`A summary of conversation feedback`}),`\n`,_jsx(_components.li,{children:`The chat link and the widget script URL`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check that it works:`}),` The `,_jsx(_components.code,{children:`Documents`}),` line shows `,_jsx(_components.code,{children:`0 failed`}),`. If it does not, see `,_jsx(_components.a,{href:`/cli/knowledge#resync-content`,children:`Resync content`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`see-engagement-analytics`,children:`See engagement analytics`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` analytics`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chatbot`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_CHATBOT_ID`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --start`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 2026-08-01`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --end`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 2026-08-19`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The output shows totals for the range, such as widget opens, conversations started, unique visitors, escalations, and leads. It compares them with the previous period. Add `,_jsx(_components.code,{children:`--json`}),` to also get the daily series.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Dates are UTC days in the format `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If you leave out `,_jsx(_components.code,{children:`--start`}),` and `,_jsx(_components.code,{children:`--end`}),`, the range is the last 30 days.`]}),`\n`,_jsxs(_components.li,{children:[`Your plan must include analytics. If it does not, the command fails with `,_jsx(_components.code,{children:`403`}),` and the code `,_jsx(_components.code,{children:`ANALYTICS_LOCKED`}),`.`]}),`\n`,_jsx(_components.li,{children:`Insight counters show only when your plan includes insights.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/reference/plans-and-limits`,children:`Plans and limits`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check that it works:`}),` The first line shows the range that you asked for, for example `,_jsx(_components.code,{children:`Range: 2026-08-01 to 2026-08-19 (UTC)`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`transfer-a-chatbot`,children:`Transfer a chatbot`}),`\n`,_jsxs(_components.p,{children:[`Only a Super Admin of the chatbot can transfer it. The owner is always a Super Admin. The token needs the `,_jsx(_components.code,{children:`chatbots:write`}),`, `,_jsx(_components.code,{children:`members:write`}),`, and `,_jsx(_components.code,{children:`members:delete`}),` scopes.`]}),`\n`,_jsxs(_components.p,{children:[`The command asks for the transfer. The chatbot moves only when the new owner accepts. For the whole flow, see `,_jsx(_components.a,{href:`/guides/account/manage-chatbots#transfer-a-chatbot-to-another-owner`,children:`Transfer a chatbot to another owner`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chatbots`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` transfer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_CHATBOT_ID`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --email`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` new-owner@example.com`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`SiteGPT emails the new owner. They accept or decline on the `,_jsx(_components.strong,{children:`Chatbots`}),` page of the dashboard, under `,_jsx(_components.strong,{children:`Pending Transfers`}),`, or with API v2. The CLI has no command to accept.`]}),`\n`,_jsx(_components.li,{children:`SiteGPT does not create an account for the new owner. They sign in with the email address that you used.`}),`\n`,_jsx(_components.li,{children:`The request stays open for 7 days. A chatbot has one open request. Running the command again replaces it.`}),`\n`,_jsx(_components.li,{children:`When the new owner accepts, they become a Super Admin of the chatbot. By default, SiteGPT then removes the previous owner from the chatbot.`}),`\n`,_jsxs(_components.li,{children:[`To keep the previous owner as a team member, add `,_jsx(_components.code,{children:`--keep-source-as`}),` with a role: `,_jsx(_components.code,{children:`AGENT`}),`, `,_jsx(_components.code,{children:`MANAGER`}),`, `,_jsx(_components.code,{children:`ADMIN`}),`, or `,_jsx(_components.code,{children:`SUPER_ADMIN`}),`. This adds a team member, so it counts toward the member limit. SiteGPT checks for a free seat when you send the request and again when the new owner accepts.`]}),`\n`,_jsxs(_components.li,{children:[`To use a user ID instead of an email, pass `,_jsx(_components.code,{children:`--user-id YOUR_USER_ID`}),`.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chatbots`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` transfer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_CHATBOT_ID`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --email`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` teammate@example.com`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --keep-source-as`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ADMIN`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Use CLI 0.7.0 or later. CLI 0.6.1 and earlier send the request and the email, and then print an error such as `,_jsx(_components.code,{children:`Cannot read properties of undefined (reading 'previousOwnerRemoved')`}),`, because they expect the answer of the old transfer. The request was still made. Do not run the command again to fix this error, because a new request replaces the first one and sends a second email. Update the CLI with `,_jsx(_components.code,{children:`npm install -g @sitegpt/cli`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check that it works:`}),` The CLI prints `,_jsx(_components.code,{children:`Transfer of chatbot`}),`, the title, the ID, and `,_jsx(_components.code,{children:`sent to`}),` with the new owner’s email address. It then says what happens to the previous owner when the new owner accepts, and when the request expires. It adds `,_jsx(_components.code,{children:`replacing the open one`}),` when the command replaced an open request. With `,_jsx(_components.code,{children:`--json`}),`, `,_jsx(_components.code,{children:`data.transfer.status`}),` is `,_jsx(_components.code,{children:`pending`}),`, and `,_jsx(_components.code,{children:`data.replacedPendingTransfer`}),` is `,_jsx(_components.code,{children:`true`}),` when the command replaced an open request.`]}),`\n`,_jsxs(_components.p,{children:[`To check or cancel the request, use API v2. See `,_jsx(_components.a,{href:`/guides/account/manage-chatbots#check-or-cancel-the-request`,children:`Check or cancel the request`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`delete-a-chatbot`,children:`Delete a chatbot`}),`\n`,_jsxs(_components.p,{children:[`This deletes the chatbot. The command needs `,_jsx(_components.code,{children:`--yes`}),` to confirm.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sitegpt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` chatbots`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` YOUR_CHATBOT_ID`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Check that it works:`}),` The CLI prints `,_jsx(_components.code,{children:`Deleted chatbot`}),`, the title, and the ID. The chatbot is no longer in `,_jsx(_components.code,{children:`sitegpt chatbots list`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/cli/customization`,children:`Customize a chatbot`}),`, including widget icons`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/cli/playbooks/create-chatbot-from-website`,children:`Create a chatbot from a website`})}),`\n`,_jsxs(_components.li,{children:[`Command reference: `,_jsx(_components.a,{href:`/cli/command-reference#chatbots`,children:`Chatbots`}),`, `,_jsx(_components.a,{href:`/cli/command-reference#dashboard-summary`,children:`Dashboard summary`}),`, `,_jsx(_components.a,{href:`/cli/command-reference#engagement-analytics`,children:`Engagement analytics`}),`, `,_jsx(_components.a,{href:`/cli/command-reference#installation`,children:`Installation`})]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Manage chatbots with the CLI","sidebarTitle":"Chatbots","icon":"message-bot","description":"Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.","href":"/cli/chatbots"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Find your chatbot ID","slug":"find-your-chatbot-id","depth":2,"children":[]},{"title":"Create a chatbot","slug":"create-a-chatbot","depth":2,"children":[]},{"title":"Rename a chatbot or change its description","slug":"rename-a-chatbot-or-change-its-description","depth":2,"children":[]},{"title":"Get the embed code","slug":"get-the-embed-code","depth":2,"children":[]},{"title":"Check training and feedback","slug":"check-training-and-feedback","depth":2,"children":[]},{"title":"See engagement analytics","slug":"see-engagement-analytics","depth":2,"children":[]},{"title":"Transfer a chatbot","slug":"transfer-a-chatbot","depth":2,"children":[]},{"title":"Delete a chatbot","slug":"delete-a-chatbot","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/sitegpt/71568a7b608411b6/analytics.js"],"subdomain":"sitegpt","siteName":"SiteGPT Docs","title":"Manage chatbots with the CLI - SiteGPT Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-07T09:02:48.229Z","originalFileLocation":"cli/chatbots.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SiteGPT Docs\">\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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Manage chatbots with the CLI - SiteGPT Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SiteGPT Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sitegpt.ai/docs/cli/chatbots\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sitegpt.mintlify.site/docs/_mintlify/api/og/v2?division=Chatbot+setup\u0026amp;title=Manage+chatbots+with+the+CLI\u0026amp;description=Create%2C+rename%2C+install%2C+check%2C+transfer%2C+and+delete+SiteGPT+chatbots+from+the+command+line.\u0026amp;theme=e9607be87d1b982c757ec832\u0026amp;signature=4d1f832fba8fdcdecf4f3a17bcd4069ea0bfa41e13ce6f9a22844cb753df9e82\">\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=\"Manage chatbots with the CLI - SiteGPT Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sitegpt.mintlify.site/docs/_mintlify/api/og/v2?division=Chatbot+setup\u0026amp;title=Manage+chatbots+with+the+CLI\u0026amp;description=Create%2C+rename%2C+install%2C+check%2C+transfer%2C+and+delete+SiteGPT+chatbots+from+the+command+line.\u0026amp;theme=e9607be87d1b982c757ec832\u0026amp;signature=4d1f832fba8fdcdecf4f3a17bcd4069ea0bfa41e13ce6f9a22844cb753df9e82\">\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/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SiteGPT Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155DEE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sitegpt.ai/docs/cli/chatbots\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/cli/chatbots.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sitegpt.ai/#organization\",\"name\":\"SiteGPT Docs\",\"url\":\"https://sitegpt.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/light.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=0a0dcfea4d0990c3ee53df5fdc5fbb62\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sitegpt.ai/docs#website\",\"name\":\"SiteGPT Docs\",\"url\":\"https://sitegpt.ai/docs\",\"publisher\":{\"@id\":\"https://sitegpt.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sitegpt.ai/docs/cli/chatbots#webpage\",\"url\":\"https://sitegpt.ai/docs/cli/chatbots\",\"name\":\"Manage chatbots with the CLI\",\"description\":\"Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.\",\"dateModified\":\"2026-11-07T09:02:48.229Z\",\"isPartOf\":{\"@id\":\"https://sitegpt.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://sitegpt.ai/docs/cli/chatbots#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sitegpt.ai/docs/cli/chatbots#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SiteGPT Docs\",\"item\":\"https://sitegpt.ai/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manage chatbots with the CLI\",\"item\":\"https://sitegpt.ai/docs/cli/chatbots\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://sitegpt.ai/docs/cli/chatbots#article\",\"headline\":\"Manage chatbots with the CLI\",\"name\":\"Manage chatbots with the CLI\",\"description\":\"Create, rename, install, check, transfer, and delete SiteGPT chatbots from the command line.\",\"url\":\"https://sitegpt.ai/docs/cli/chatbots\",\"mainEntityOfPage\":{\"@id\":\"https://sitegpt.ai/docs/cli/chatbots#webpage\"},\"dateModified\":\"2026-11-07T09:02:48.229Z\",\"publisher\":{\"@id\":\"https://sitegpt.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://sitegpt.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SiteGPT Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SiteGPT Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/cli/chatbots.md","siteName":"SiteGPT Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction/what-is-sitegpt"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]},{"tab":"CLI","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"SiteGPT CLI","sidebarTitle":"Overview","icon":"terminal","href":"/cli/overview"},{"title":"Build a chatbot with an AI agent before you sign up","sidebarTitle":"Agent onboarding","icon":"wand-magic-sparkles","href":"/cli/onboarding"},{"title":"Install the CLI and log in","sidebarTitle":"Install \u0026 login","icon":"right-to-bracket","href":"/cli/install-login"},{"title":"CLI authentication","sidebarTitle":"Authentication","icon":"lock","href":"/cli/authentication"},{"title":"Use more than one CLI profile","sidebarTitle":"Profiles","icon":"address-card","href":"/cli/profiles"},{"title":"Use the CLI with an AI agent","sidebarTitle":"Use with AI agents","icon":"robot","description":"Give an AI coding agent or personal assistant its own CLI profile and instructions so it can manage your chatbots.","href":"/cli/use-with-ai-agents"}]},{"group":"Chatbot setup","icon":"toolbox","pages":[{"title":"Manage chatbots with the CLI","sidebarTitle":"Chatbots","icon":"message-bot","href":"/cli/chatbots"},{"title":"Manage content with the CLI","sidebarTitle":"Content","icon":"database","description":"Add websites, sitemaps, pages, videos, files, text, and custom responses, and keep that content up to date from the command line.","href":"/cli/knowledge"},{"title":"Connect apps with the CLI","sidebarTitle":"Connected apps","icon":"cloud-arrow-up","href":"/cli/data-sources"},{"title":"Customize a chatbot with the CLI","sidebarTitle":"Customization","icon":"sliders","href":"/cli/customization"}]},{"group":"Operations","icon":"list-check","pages":[{"title":"Work with conversations and leads in the CLI","sidebarTitle":"Conversations","icon":"comments","href":"/cli/conversations"},{"title":"Manage your account, team, and tokens with the CLI","sidebarTitle":"Account \u0026 team","icon":"users","href":"/cli/account-team-billing"}]},{"group":"Agent playbooks","icon":"route","pages":[{"title":"Create a chatbot from a website with an AI agent","sidebarTitle":"Create from website","icon":"browser","href":"/cli/playbooks/create-chatbot-from-website"},{"title":"Build a preview chatbot before the user has an account","sidebarTitle":"New customer onboarding","icon":"wand-magic-sparkles","href":"/cli/playbooks/agent-first-onboarding-chatbot"},{"title":"Set up a chatbot in an existing account","sidebarTitle":"Existing account setup","icon":"user-gear","href":"/cli/playbooks/account-chatbot-setup"},{"title":"Triage conversations and leads","sidebarTitle":"Support operations","icon":"headset","href":"/cli/playbooks/support-operations"},{"title":"Keep a chatbot's content up to date","sidebarTitle":"Knowledge maintenance","icon":"database","href":"/cli/playbooks/knowledge-maintenance"}]},{"group":"Reference","icon":"bookmark","pages":[{"title":"Command reference","sidebarTitle":"Command reference","icon":"book-open","href":"/cli/command-reference"},{"title":"Troubleshoot the CLI","sidebarTitle":"Troubleshooting","icon":"life-ring","href":"/cli/troubleshooting"}]}]},{"tab":"API Reference","versions":[{"version":"v2","default":true,"groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Make your first API calls","sidebarTitle":"Getting started","icon":"rocket","href":"/api-reference/v2/getting-started"},{"title":"API v2 authentication","sidebarTitle":"Authentication","icon":"lock","href":"/api-reference/v2/authentication"},{"title":"API conventions","sidebarTitle":"Conventions","icon":"book","href":"/api-reference/v2/conventions"}]},{"group":"Discovery","pages":[{"title":"Get OpenAPI spec","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/openapi.json","href":"/api-reference/discovery/get-openapi-spec"},{"title":"Get agent manifest","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /.well-known/sitegpt-agent.json","href":"/api-reference/discovery/get-agent-manifest"},{"title":"Health check","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/health","href":"/api-reference/discovery/health-check"}]},{"group":"Onboarding","pages":[{"title":"Start onboarding","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/onboarding/agent/start","href":"/api-reference/onboarding/start-onboarding"},{"title":"Get onboarding status","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/onboarding/workspaces/{workspaceId}","href":"/api-reference/onboarding/get-onboarding-status"},{"title":"Delete onboarding","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/onboarding/workspaces/{workspaceId}","href":"/api-reference/onboarding/delete-onboarding"},{"title":"Claim onboarding","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/onboarding/workspaces/{workspaceId}/claim","href":"/api-reference/onboarding/claim-onboarding"}]},{"group":"Account","pages":[{"title":"Get current user","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/me","href":"/api-reference/account/get-current-user"},{"title":"Get account","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/account","href":"/api-reference/account/get-account"},{"title":"Update profile","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/account/profile","href":"/api-reference/account/update-profile"},{"title":"Upload profile picture","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/account/profile-picture","href":"/api-reference/account/upload-profile-picture"},{"title":"Delete profile picture","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/account/profile-picture","href":"/api-reference/account/delete-profile-picture"},{"title":"Get Usage","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/usage","href":"/api-reference/account/get-usage"},{"title":"Get Limits","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/limits","href":"/api-reference/account/get-limits"}]},{"group":"Billing","pages":[{"title":"Get subscription","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/billing/subscription","href":"/api-reference/billing/get-subscription"},{"title":"List invoices","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/billing/invoices","href":"/api-reference/billing/list-invoices"}]},{"group":"Tokens","pages":[{"title":"List tokens","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/tokens","href":"/api-reference/tokens/list-tokens"},{"title":"Create token","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/tokens","href":"/api-reference/tokens/create-token"},{"title":"Revoke token","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/tokens/{tokenId}","href":"/api-reference/tokens/revoke-token"},{"title":"Rotate token","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/tokens/{tokenId}/rotate","href":"/api-reference/tokens/rotate-token"}]},{"group":"Chatbots","pages":[{"title":"List chatbots","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots","href":"/api-reference/chatbots/list-chatbots"},{"title":"Create chatbot","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots","href":"/api-reference/chatbots/create-chatbot"},{"title":"Get chatbot","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}","href":"/api-reference/chatbots/get-chatbot"},{"title":"Delete chatbot","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}","href":"/api-reference/chatbots/delete-chatbot"},{"title":"Update chatbot","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}","href":"/api-reference/chatbots/update-chatbot"},{"title":"Get dashboard summary","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/dashboard","href":"/api-reference/chatbots/get-dashboard-summary"},{"title":"Get analytics","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/analytics","href":"/api-reference/chatbots/get-analytics"},{"title":"Upload icon","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/icons","href":"/api-reference/chatbots/upload-icon"},{"title":"Delete icon","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/icons/{iconType}","href":"/api-reference/chatbots/delete-icon"},{"title":"Get Chatbot Transfer","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/transfer","href":"/api-reference/chatbots/get-chatbot-transfer"},{"title":"Transfer Chatbot","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/transfer","href":"/api-reference/chatbots/transfer-chatbot"},{"title":"Cancel Chatbot Transfer","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/transfer","href":"/api-reference/chatbots/cancel-chatbot-transfer"},{"title":"List Transfers","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/transfers","href":"/api-reference/chatbots/list-transfers"},{"title":"Accept Transfer","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/transfers/{transferId}/accept","href":"/api-reference/chatbots/accept-transfer"},{"title":"Decline Transfer","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/transfers/{transferId}/decline","href":"/api-reference/chatbots/decline-transfer"}]},{"group":"Knowledge","pages":[{"title":"List documents","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/documents","href":"/api-reference/knowledge/list-documents"},{"title":"Get document","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/documents/{documentId}","href":"/api-reference/knowledge/get-document"},{"title":"Delete document","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/documents/{documentId}","href":"/api-reference/knowledge/delete-document"},{"title":"Update document","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/documents/{documentId}","href":"/api-reference/knowledge/update-document"},{"title":"Get document stats","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/documents/stats","href":"/api-reference/knowledge/get-document-stats"},{"title":"Bulk delete documents","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/documents/delete","href":"/api-reference/knowledge/bulk-delete-documents"},{"title":"Bulk resync documents","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/documents/resync","href":"/api-reference/knowledge/bulk-resync-documents"},{"title":"Update document config","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/documents/config","href":"/api-reference/knowledge/update-document-config"},{"title":"Add links","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/links","href":"/api-reference/knowledge/add-links"},{"title":"Add website","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/website","href":"/api-reference/knowledge/add-website"},{"title":"Add sitemap","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/sitemap","href":"/api-reference/knowledge/add-sitemap"},{"title":"Add YouTube","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/youtube","href":"/api-reference/knowledge/add-youtube"},{"title":"Update text knowledge","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/text","href":"/api-reference/knowledge/update-text-knowledge"},{"title":"Upload files","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/files","href":"/api-reference/knowledge/upload-files"}]},{"group":"Knowledge Sync Jobs","pages":[{"title":"List sync jobs","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/ingest-jobs","href":"/api-reference/knowledge-sync-jobs/list-sync-jobs"},{"title":"Get sync job","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/ingest-jobs/{jobId}","href":"/api-reference/knowledge-sync-jobs/get-sync-job"},{"title":"Delete sync job","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/ingest-jobs/{jobId}","href":"/api-reference/knowledge-sync-jobs/delete-sync-job"},{"title":"Update sync job","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/ingest-jobs/{jobId}","href":"/api-reference/knowledge-sync-jobs/update-sync-job"}]},{"group":"Knowledge Sources","pages":[{"title":"List data sources","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/knowledge/sources","href":"/api-reference/knowledge-sources/list-data-sources"},{"title":"Create data source","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/sources","href":"/api-reference/knowledge-sources/create-data-source"},{"title":"Get data source","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/knowledge/sources/{connectionId}","href":"/api-reference/knowledge-sources/get-data-source"},{"title":"Revoke data source","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/knowledge/sources/{connectionId}","href":"/api-reference/knowledge-sources/revoke-data-source"},{"title":"Update data source","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/knowledge/sources/{connectionId}","href":"/api-reference/knowledge-sources/update-data-source"},{"title":"Authorize data source","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/sources/{connectionId}/authorize","href":"/api-reference/knowledge-sources/authorize-data-source"},{"title":"List source documents","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/knowledge/sources/{connectionId}/documents","href":"/api-reference/knowledge-sources/list-source-documents"},{"title":"Ingest data source","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/knowledge/sources/{connectionId}/ingest","href":"/api-reference/knowledge-sources/ingest-data-source"},{"title":"List GitHub repositories","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/knowledge/sources/github/repos","href":"/api-reference/knowledge-sources/list-github-repositories"},{"title":"List GitHub files","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/knowledge/sources/github/files","href":"/api-reference/knowledge-sources/list-github-files"},{"title":"List Confluence spaces","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/knowledge/sources/confluence/spaces","href":"/api-reference/knowledge-sources/list-confluence-spaces"},{"title":"List Confluence pages","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/knowledge/sources/confluence/pages","href":"/api-reference/knowledge-sources/list-confluence-pages"}]},{"group":"Custom Responses","pages":[{"title":"List custom responses","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/custom-responses","href":"/api-reference/custom-responses/list-custom-responses"},{"title":"Create custom response","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/custom-responses","href":"/api-reference/custom-responses/create-custom-response"},{"title":"Get custom response","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/custom-responses/{customResponseId}","href":"/api-reference/custom-responses/get-custom-response"},{"title":"Delete custom response","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/custom-responses/{customResponseId}","href":"/api-reference/custom-responses/delete-custom-response"},{"title":"Update custom response","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/custom-responses/{customResponseId}","href":"/api-reference/custom-responses/update-custom-response"}]},{"group":"Personas","pages":[{"title":"List personas","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/personas","href":"/api-reference/personas/list-personas"},{"title":"Create persona","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/personas","href":"/api-reference/personas/create-persona"},{"title":"Get persona","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/personas/{personaId}","href":"/api-reference/personas/get-persona"},{"title":"Delete persona","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/personas/{personaId}","href":"/api-reference/personas/delete-persona"},{"title":"Update persona","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/personas/{personaId}","href":"/api-reference/personas/update-persona"},{"title":"Use persona","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/personas/{personaId}/use","href":"/api-reference/personas/use-persona"}]},{"group":"Instructions","pages":[{"title":"List instructions","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/instructions","href":"/api-reference/instructions/list-instructions"},{"title":"Create instructions","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/instructions","href":"/api-reference/instructions/create-instructions"},{"title":"Get instructions","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/instructions/{instructionId}","href":"/api-reference/instructions/get-instructions"},{"title":"Delete instructions","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/instructions/{instructionId}","href":"/api-reference/instructions/delete-instructions"},{"title":"Update instructions","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/instructions/{instructionId}","href":"/api-reference/instructions/update-instructions"},{"title":"Use instructions","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/instructions/{instructionId}/use","href":"/api-reference/instructions/use-instructions"}]},{"group":"Settings","pages":[{"title":"Get settings","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/settings","href":"/api-reference/settings/get-settings"},{"title":"Update settings","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/settings","href":"/api-reference/settings/update-settings"},{"title":"Get settings section","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/settings/{section}","href":"/api-reference/settings/get-settings-section"},{"title":"Update settings section","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/settings/{section}","href":"/api-reference/settings/update-settings-section"}]},{"group":"Conversation Starters","pages":[{"title":"List starters","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/starters","href":"/api-reference/conversation-starters/list-starters"},{"title":"Create starter","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/starters","href":"/api-reference/conversation-starters/create-starter"},{"title":"Get starter","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/starters/{starterId}","href":"/api-reference/conversation-starters/get-starter"},{"title":"Delete starter","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/starters/{starterId}","href":"/api-reference/conversation-starters/delete-starter"},{"title":"Update starter","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/starters/{starterId}","href":"/api-reference/conversation-starters/update-starter"},{"title":"Reorder starters","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/starters/reorder","href":"/api-reference/conversation-starters/reorder-starters"}]},{"group":"Conversation Followups","pages":[{"title":"List followups","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/followups","href":"/api-reference/conversation-followups/list-followups"},{"title":"Create followup","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/followups","href":"/api-reference/conversation-followups/create-followup"},{"title":"Get followup","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/followups/{followupId}","href":"/api-reference/conversation-followups/get-followup"},{"title":"Delete followup","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/followups/{followupId}","href":"/api-reference/conversation-followups/delete-followup"},{"title":"Update followup","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/followups/{followupId}","href":"/api-reference/conversation-followups/update-followup"},{"title":"Reorder followups","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/followups/reorder","href":"/api-reference/conversation-followups/reorder-followups"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/members","href":"/api-reference/members/list-members"},{"title":"Invite member","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/members","href":"/api-reference/members/invite-member"},{"title":"Remove member","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/members/{userId}","href":"/api-reference/members/remove-member"},{"title":"List invites","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/member-invites","href":"/api-reference/members/list-invites"},{"title":"Cancel invite","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/member-invites/{inviteId}","href":"/api-reference/members/cancel-invite"}]},{"group":"Leads","pages":[{"title":"List leads","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/leads","href":"/api-reference/leads/list-leads"},{"title":"Get lead","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/leads/{leadId}","href":"/api-reference/leads/get-lead"},{"title":"Delete lead","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/leads/{leadId}","href":"/api-reference/leads/delete-lead"},{"title":"Update lead","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/leads/{leadId}","href":"/api-reference/leads/update-lead"},{"title":"Run lead action","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/leads/actions","href":"/api-reference/leads/run-lead-action"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Create conversation","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/conversations","href":"/api-reference/conversations/create-conversation"},{"title":"Run conversation action","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/conversations/bulk","href":"/api-reference/conversations/run-conversation-action"},{"title":"Get conversation","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/conversations/{threadId}","href":"/api-reference/conversations/get-conversation"},{"title":"Delete conversation","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/conversations/{threadId}","href":"/api-reference/conversations/delete-conversation"},{"title":"Update conversation","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/conversations/{threadId}","href":"/api-reference/conversations/update-conversation"},{"title":"Escalate conversation","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/conversations/{threadId}/escalate","href":"/api-reference/conversations/escalate-conversation"},{"title":"Switch to AI","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/conversations/{threadId}/switch-to-ai","href":"/api-reference/conversations/switch-to-ai"},{"title":"Take over","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/conversations/{threadId}/take-over","href":"/api-reference/conversations/take-over"},{"title":"Reply to conversation","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/conversations/{threadId}/replies","href":"/api-reference/conversations/reply-to-conversation"},{"title":"List email drafts","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/conversations/{threadId}/drafts","href":"/api-reference/conversations/list-email-drafts"},{"title":"Send email draft","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/conversations/{threadId}/drafts/{draftId}/send","href":"/api-reference/conversations/send-email-draft"},{"title":"Discard email draft","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/conversations/{threadId}/drafts/{draftId}","href":"/api-reference/conversations/discard-email-draft"}]},{"group":"Messages","pages":[{"title":"Send new message","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/messages","href":"/api-reference/messages/send-new-message"},{"title":"List messages","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/conversations/{threadId}/messages","href":"/api-reference/messages/list-messages"},{"title":"Send message","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/conversations/{threadId}/messages","href":"/api-reference/messages/send-message"},{"title":"Update message","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/conversations/{threadId}/messages/{messageId}","href":"/api-reference/messages/update-message"}]},{"group":"Tags","pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/tags","href":"/api-reference/tags/list-tags"},{"title":"Create tag","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json post /api/v2/chatbots/{chatbotId}/tags","href":"/api-reference/tags/create-tag"},{"title":"Get tag","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json get /api/v2/chatbots/{chatbotId}/tags/{tagId}","href":"/api-reference/tags/get-tag"},{"title":"Delete tag","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json delete /api/v2/chatbots/{chatbotId}/tags/{tagId}","href":"/api-reference/tags/delete-tag"},{"title":"Update tag","deprecated":null,"version":null,"openapi":"https://sitegpt.ai/api/v2/openapi.json patch /api/v2/chatbots/{chatbotId}/tags/{tagId}","href":"/api-reference/tags/update-tag"}]}]},{"version":"v0","pages":[{"title":"v0","href":"/api-reference/getting-started"}]}]}]},"basePath":"","title":"Manage chatbots with the CLI - SiteGPT Docs","buildId":"dpl_FGqRJUoJWfds4SqdfFGJ2v1vVNSs","deploymentId":"dpl_FGqRJUoJWfds4SqdfFGJ2v1vVNSs","dynamics":[],"chunks":[]}