WebUI API Reference
This page follows the /api/* routes explicitly registered in the current pkg/api/server.go.
Auth
Common access patterns:
?token=<gateway.token>Authorization: Bearer <gateway.token>clawgo_webui_tokencookie
Config and Version
GET /api/configPOST /api/configGET /api/version
GET /api/config?mode=normalized returns:
configraw_config
Current normalized keys include:
core.default_providercore.default_modelcore.main_agent_idcore.subagentsruntime.routerruntime.providers
Chat and Upload
POST /api/chatGET /api/chat/historyGET /api/chat/livePOST /api/upload
Provider and OAuth
POST /api/provider/oauth/startPOST /api/provider/oauth/completePOST /api/provider/oauth/importGET/POST /api/provider/oauth/accountsPOST /api/provider/modelsGET/POST /api/provider/runtime
Cron / Skills / Sessions / Memory
GET/POST /api/cronGET/POST /api/skillsGET /api/sessionsGET/POST /api/memoryGET/POST /api/workspace_file
Tools and MCP
GET /api/toolsGET /api/tool_allowlist_groupsPOST /api/mcp/install
Logs and Channel Helper Endpoints
GET /api/logs/liveGET /api/logs/recentGET /api/whatsapp/statusPOST /api/whatsapp/logoutGET /api/whatsapp/qr.svg
What This Revision Explicitly Fixes
The current codebase does not explicitly register these public routes anymore:
/api/runtime/api/world/api/subagents_runtime/api/subagent_profiles/api/auth/session/api/nodes/api/node_dispatches/api/node_artifacts/api/task_queue/api/ekg_stats
So the docs no longer present them as part of clawgo’s default WebUI API surface.