The SiteGPT CLI is the first-party command line interface for managing SiteGPT from a terminal, script, or AI assistant. It lets you create chatbots, add training content, configure appearance and behavior, inspect conversations, manage leads, invite team members, and review account usage without opening the dashboard. The installed command is:Documentation Index
Fetch the complete documentation index at: https://sitegpt.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
When to use the CLI
Automate setup
Create a chatbot, add website knowledge, configure settings, upload icons, and verify everything from one workflow.
Try before signup
Let an AI agent create a temporary chatbot from a website before the user has a SiteGPT account.
Manage knowledge
Add links, websites, sitemaps, files, YouTube videos, text snippets, cloud sources, and custom responses.
Run support operations
Review conversations, tags, messages, leads, escalations, and support handoff state.
Use with AI agents
Give personal AI agents a scoped CLI profile, a skill file, JSON output, and safe workflows for operating SiteGPT.
Connect MCP server
Connect Claude and other remote MCP clients to SiteGPT with browser-based OAuth approval.
Choose your CLI flow
| Situation | Start here |
|---|---|
| The user does not have a SiteGPT account yet or wants to try SiteGPT from a website URL | Agent-first onboarding |
| The user already has a SiteGPT account, token, or saved profile | Install and log in |
Quick start: no account yet
Start onboarding
data.workspace.id, data.workspace.chatbotId, data.apiToken, and
data.onboardingUrl from the response.Quick start: existing account
Log in
Common workflow
Command groups
| Area | Commands |
|---|---|
| Auth and local config | login, logout, whoami, profiles |
| Agent-first onboarding | onboarding |
| Account | account, usage, limits, billing, tokens |
| Chatbots | chatbots, dashboard, installation, icons, settings, personas, instructions |
| Knowledge | knowledge documents, knowledge links, knowledge website, knowledge sitemap, knowledge youtube, knowledge text, knowledge files, knowledge sources, knowledge sync-jobs, knowledge custom-responses |
| Support operations | conversations, messages, tags, leads, starters, followups, members, member-invites |
Global options
These options work across command groups:| Option | Description |
|---|---|
--json | Print machine-readable JSON. Use this for scripts and agents. |
--profile <name> | Use a named local CLI profile. |
-p <name> | Alias for --profile. |
--api-base <url> | Override the SiteGPT API base URL for one command. |
-v, --version | Print the installed CLI version. |
-h, --help | Show contextual help for the current command level. |
Environment variables
| Variable | Description |
|---|---|
SITEGPT_API_TOKEN | Token override for the current command. |
SITEGPT_API_BASE | API base URL override. Defaults to https://sitegpt.ai when no profile value is set. |
SITEGPT_PROFILE | Profile name override. |