What is the Core SDK?
The Core SDK provides programmatic access to create, manage, and interact with BoostGPT agents. It handles bot management, chat interactions, and training data.Installation
Quick Start
Key Features
Bot Management
Create, update, and delete bots
Chat API
Send messages and get AI responses
Training Data
Add knowledge to your bots
API Reference
Complete method documentation
Response Format
All SDK methods return a consistent format:err before using response:
Available Methods
Bot Management
createBot()- Create a new botfetchBot()- Get bot detailsfetchBots()- List all bots (paginated)updateBot()- Update bot settingsresetBot()- Delete all training datadeleteBot()- Delete a bot
Chat
chat()- Send message and get response (supports streaming)fetchChat()- Get chat historyfetchChats()- List all chats (paginated)deleteChat()- Delete chat historysearch()- Search bot’s knowledge baseexecuteTool()- Execute tool callsvoteMessage()- Upvote/downvote messagesfetchVoteStatus()- Get message vote statusdeleteMessage()- Delete a specific message
Training
startTraining()- Add training content (queued)fetchTraining()- Get training sourcefetchTrainings()- List training data (paginated)updateTraining()- Update training sourcedeleteTraining()- Remove training data
Subscribers
fetchSubscribers()- Get all subscribers (paginated)
Analytics & Statistics
fetchVoteStats()- Get voting statisticsfetchSummaryStats()- Get summary statisticsfetchDashboardStats()- Get dashboard statisticsfetchToolUsageStats()- Get tool usage statisticsfetchWorkflowStats()- Get workflow statisticsfetchPerformanceMetrics()- Get performance metricsfetchBehaviorStats()- Get user behavior statisticsfetchErrorAnalysis()- Get error analysisfetchReasoningSummary()- Get reasoning summary