Skip to main content

API Reference

API Tokens

FunctionDescription
createAPITokenCreate a new API token for programmatic access
deleteAPITokenDelete an API token
listAPITokensList all API tokens for the current user

Applications

FunctionDescription
createConfigurationCreate a new application configuration
getConfigurationGet configuration for an application
getExpertApplicationsGet applications associated with a specific expert
listApplicationsList all available applications
searchApplicationsSearch applications by name or other criteria
updateApplicationUpdate an application's configuration or status
updateConfigurationUpdate an existing application configuration

Authentication

FunctionDescription
authenticateUserAuthenticate user with username and password
getSessionGet current session information including user details and token expiry
refreshTokenRefresh the access token using a refresh token
signOutUserSign out the current user and invalidate the session
validateTokenValidate the current access token

Categories

FunctionDescription
createCategoryCreate a new category for organizing users or content
deleteCategoryDelete a category by ID
getUserCategoriesGet categories assigned to a specific user
listCategoriesList all available categories

Chat

VariableDescription
chatChat module with completion methods Access via chat.complete() and chat.stream()

Chat Management

FunctionDescription
addExpertToChatAdd an expert to a chat
deleteChatDelete a chat
getChatGet a chat by ID
listChatsList all chats for the current user
removeExpertFromChatRemove an expert from a chat
updateChatUpdate a chat's properties

Company

FunctionDescription
createModelRegistryRegister a new AI model in the company registry
deleteModelRegistryDelete a model from the registry
getCompanyGet company information
getCompanyConfigurationGet company configuration settings
getCompanyLicensesGet company licenses
getCompanyLogoGet company logo by company ID
getCompanyModelsGet available AI models for the company
getExpertModelConfigGet model configuration for a specific expert
getMaintenanceModeGet current maintenance mode status
setCompanyConfigurationSet company configuration settings
setMaintenanceModeEnable or disable maintenance mode
updateCompanyUpdate company information
updateModelRegistryUpdate a model in the registry

Configuration

NameDescription
CyberPodCyberPod SDK Class - Alternative to global functions
initSDKInitialize the SDK with full configuration options
setBaseUrlSet the base URL for API requests (required before any API calls)

Core

VariableDescription
VERSIONSDK version

Dashboard

FunctionDescription
createMongoDBRecordCreate a MongoDB record
getActiveUsersGet active users data
getDashboardOverviewGet dashboard overview with summary statistics
getDashboardTaskHistoryGet task history for the dashboard
getDashboardTaskStatsGet task statistics for dashboard
getExpertStatsGet expert usage statistics
getTopOrganizationsGet top organizations by usage
getTotalChatsGet total chats statistics
getUserActivityStatsGet user activity statistics
searchDashboardSearch across dashboard data
updateMongoDBRecordUpdate a MongoDB record

Files

FunctionDescription
deleteFileDelete a file by ID
downloadFilesDownload one or more files
getExistingFiltersGet existing filter options for file search (file types, date ranges, etc.)
getFileByIdGet file information by ID
getFoldersAndFilesGet folders and files in a hierarchical structure
getTotalFilesCountGet the total count of files for the current user
getUploadStatusGet the upload/processing status of a file
moveFileToFolderMove a file to a different folder
searchFilesSearch files by query and optional filters
shareFilesShare files with other users
uploadFileUpload a file to the system

Folders

FunctionDescription
createFolderCreate a new folder for organizing files
deleteFolderDelete a folder by ID
deleteFoldersDelete multiple folders at once
listFoldersList folders with optional parent filter and pagination

Graphs

FunctionDescription
deleteGraphDelete a graph by ID
expandNodesExpand nodes in the graph
getChunkStatsGet statistics about chunks in the system
listGraphsList all graphs for the current user
loadGraphLoad a specific graph by ID
queryGraphQuery the graph
saveGraphSave a graph with name and data
shareGraphShare a graph with another user

MCP Servers

FunctionDescription
createMCPServerCreate a new MCP server configuration
deleteMCPServerDelete an MCP server
executeMCPToolExecute an MCP tool
getAllMCPToolsGet all available MCP tools across all servers
getMCPServerGet MCP server by ID
getMCPServerToolsGet tools available on a specific MCP server
listMCPServersList all MCP (Model Context Protocol) servers
updateMCPServerUpdate an MCP server configuration

Notifications

FunctionDescription
archiveNotificationsArchive multiple notifications
bulkNotificationActionPerform bulk actions on notifications (restore or delete multiple)
clearAllNotificationsClear all notifications (inbox, archived, or both)
deleteNotificationDelete a single notification by ID
getArchivedNotificationsGet archived notifications for the current user
getNotificationsGet inbox notifications for the current user
markNotificationReadMark a notification as read or unread
restoreAllNotificationsRestore all archived notifications back to inbox

Other

default

Renames and re-exports CyberPod

Projects

FunctionDescription
addFilesToProjectAdd files to a project
createProjectCreate a new project
createProjectChatCreate a new chat within a project
deleteProjectDelete a project
deleteProjectChatDelete a chat from a project
deleteProjectMemoriesDelete all memories associated with a project
getChatMessagesGet messages from a project chat
getProjectGet a project by ID
listProjectChatsList all chats within a project
listProjectsList all projects for the current user
projectChatCompletionSend a chat completion request in a project context
removeExpertFromProjectRemove an expert from a project
removeFileFromProjectRemove a file from a project
shareProjectShare a project with other users
updateProjectUpdate a project

Secrets

FunctionDescription
createSecretCreate a new secret
deleteSecretDelete a secret
getSecretGet secret metadata by ID
listSecretsList all secrets for the current user
resolveSecretResolve a secret value by key name
updateSecretUpdate an existing secret

Users

FunctionDescription
addCategoriesToUserAdd categories to a user (admin only)
addExpertAdd expert to current user's profile
createUserCreate a new user (admin only)
deleteAccountDelete the current user's account
getDeprecatedUsersGet list of deprecated/deactivated users
getListUsersGet a simple list of all users
getUserGet the current authenticated user's profile
getUserActivityGet user activity logs within a date range
getUserByIdGet a user by ID
getUserFilesGet files belonging to a specific user
listUsersList all users with pagination and filters (admin only)
resetOwnPasswordReset own password
resetUserPasswordReset a user's password (admin only)
updateUserUpdate the current user's profile
updateUserByIdUpdate a user by ID (admin only)
updateUserStatusUpdate a user's status (admin only)