Before you start
- A SiteGPT account on the Growth plan or above. See Plans and limits.
- The CLI installed and logged in. See Install and log in.
- The default access from
sitegpt loginis enough for the tasks on this page. Your role on the chatbot must also allow the action. See Authentication.
Find your chatbot ID
List your chatbots:jq:
sitegpt chatbots get YOUR_CHATBOT_ID. The output shows the chatbot title, the ID, and the owner email.
Create a chatbot
--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.
Rename a chatbot or change its description
--title, --description, or both.
Check that it works: The CLI prints Updated chatbot Help Center Bot (ID).
Get the embed code
Check training and feedback
Get a summary of one chatbot:- The training state
- The total, trained, pending, and failed document counts
- The link, file, and page counts
- A summary of conversation feedback
- The chat link and the widget script URL
Documents line shows 0 failed. If it does not, see Resync content.
See engagement analytics
--json to also get the daily series.
- Dates are UTC days in the format
YYYY-MM-DD. - If you leave out
--startand--end, the range is the last 30 days. - Your plan must include analytics. If it does not, the command fails with
403and the codeANALYTICS_LOCKED. - Insight counters show only when your plan includes insights.
Range: 2026-08-01 to 2026-08-19 (UTC).
Transfer a chatbot
Only a Super Admin of the chatbot can transfer it. The owner is always a Super Admin. The token needs thechatbots:write, members:write, and members:delete scopes.
- The new owner becomes a Super Admin of the chatbot.
- If the new owner has no SiteGPT account, SiteGPT creates one.
- By default, SiteGPT removes the previous owner from the chatbot.
- To keep the previous owner as a team member, add
--keep-source-aswith a role:AGENT,MANAGER,ADMIN, orSUPER_ADMIN. This adds a team member, so it counts toward the member limit. - To use a user ID instead of an email, pass
--user-id YOUR_USER_ID.
Transferred chatbot, the title, the ID, and the new owner email. It also says if the previous owner was removed or kept, and with which role.
Delete a chatbot
This deletes the chatbot. The command needs--yes to confirm.
Deleted chatbot, the title, and the ID. The chatbot is no longer in sitegpt chatbots list.
Related
- Customize a chatbot, including widget icons
- Create a chatbot from a website
- Command reference: Chatbots, Dashboard summary, Engagement analytics, Installation