Skip to main content
Chatbots are the central SiteGPT resource. Most knowledge, settings, conversations, members, and lead commands need a chatbot ID.

List chatbots

Use JSON when you need the chatbot ID for follow-up commands:

Get one chatbot

Create a chatbot

The title can be positional or passed as --title.

Update a chatbot

Delete a chatbot

--yes is required because deletion is destructive.

Transfer a chatbot

Reassign a chatbot’s ownership to another user in the same brand. If the recipient does not have a SiteGPT account yet, one is provisioned for them.
By default the previous owner is removed from the chatbot. Pass --keep-source-as <AGENT|MANAGER|ADMIN|SUPER_ADMIN> to keep them as a member instead (ownership reassignment within a team). Only a chatbot super admin can transfer it; the creator/owner is always a super admin.

Dashboard summary

Use dashboard to fetch an operational summary for one chatbot:
The response includes:
  • Training state
  • Total, trained, pending, and failed document counts
  • Link, file, custom response, and page counts
  • Conversation feedback summary
  • Chat URL
  • Widget script URL
Use analytics for the daily engagement series — widget opens, conversations started, unique visitors, escalations, and leads, with totals and a prior-period comparison:
Days are UTC (YYYY-MM-DD); the default range is the trailing 30 days. The command needs analytics enabled on the account (the API answers 403 ANALYTICS_LOCKED otherwise), and the insight counters appear only when insights is enabled.

Installation snippet

Get safe installation metadata and the embeddable script snippet:
The command returns:
  • Chat URL
  • Widget script URL
  • Embed code

Upload chatbot icons

Icon commands upload local image files. Download remote assets first, then upload the local file path.
Supported icon types: Supported image files:

Delete chatbot icons

remove is an alias for delete. For a new chatbot, use this order:
1

Create the chatbot

2

Add knowledge

Prefer sitemap, then website crawl, then selected links.
3

Configure persona and instructions

Use sitegpt personas and sitegpt instructions.
4

Apply appearance, starters, and followups

Use sitegpt settings appearance, sitegpt icons, sitegpt starters, and sitegpt followups.
5

Verify

Full reference