The Admin API is used to manage the surrounding infrastructure of the bots. It handles accounts, workspaces, users, quotas, billing, and other administrative functions.
An Account represents a customer entity using the system. It can be an organization or an individual user. Accounts manage billing, workspaces, and quotas.
Each account has one or more workspaces.
Quotas and billing are managed at the account level.
Billing manages the invoicing and payments for workspaces, tracking charges for resources and services consumed. It ensures that workspaces are billed accurately based on usage and helps admins manage unpaid invoices.
Workspaces receive invoices for services and usage. These can be listed and reviewed.
The API provides details on upcoming invoices, allowing for proactive management.
Administrators can trigger payments for unpaid invoices, including tracking which invoices were successfully charged or failed.
Integrations allow bots to connect with external systems, enabling them to interact with third-party services such as Slack or WhatsApp. By connecting bots to these external platforms, integrations extend the bot’s functionality and enable more complex Workflows.Integrations can be:
Public: These are pre-built integrations developed by Botpress for widely used services (like Slack).
Private: Custom integrations built for specific workspaces, allowing for connections to internal systems or specialized third-party services. You can manage those using the Admin API.
Activities are key events and actions in the system, primarily related to bot behavior and interactions. These logs help monitor and debug the actions bots take, including messages, tasks, and errors. Activity logs serve as an audit trail for understanding bot actions and system events over time.
Tracks events such as bot-user interactions, task status changes, and system errors.
Useful for monitoring bot performance and diagnosing issues.
Helps provide transparency into bot behavior and actions within the system.
Logs capture detailed records of activity for both bots and integrations. These logs encompass system-level events as well as user-generated log entries, such as those created using console.log or logger.log.
Issues track problems or errors affecting a bot’s functionality. These can be analyzed and resolved to ensure the bot operates smoothly. Issue events provide context and detail about what occurred during a specific issue.
Analytics focus on the performance and usage data of bots. They provide insights into how a bot is performing over time and can be used to track key metrics within a specified time range.For detailed API specifications, refer to the API reference documentation.