Skip to main content
Every botpress.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Account

get

account.get Get the authenticated account Risk: read
Input: empty object Output

getPreference

account.getPreference Get an account preference by key Risk: read
Input Output

setPreference

account.setPreference Set an account preference by key Risk: write
Input Output: empty object

update

account.update Update the authenticated account profile Risk: write
Input Output

Billing

chargeUnpaidInvoices

billing.chargeUnpaidInvoices Charge outstanding invoices for a workspace [DESTRUCTIVE - real financial action] Risk: destructive
Input Output

getUpcomingInvoice

billing.getUpcomingInvoice Preview the upcoming invoice for a workspace Risk: read
Input Output

listInvoices

billing.listInvoices List invoices billed to a workspace Risk: read
Input Output: object[]

listUsageHistory

billing.listUsageHistory List usage history for a workspace or bot Risk: read
Input Output: object[]

Bots

create

bots.create Create a bot in a workspace Risk: write
Input
Output

listActionRuns

bots.listActionRuns List a bot’s action-run history Risk: read
Input Output

listIssues

bots.listIssues List configuration and runtime issues for a bot Risk: read
Input Output

update

bots.update Update a bot Risk: write
Input
Output

Chat

createConversation

chat.createConversation Create a conversation on a channel Risk: write
Input
Output

listConversations

chat.listConversations List a bot’s conversations Risk: read
Input
Output

sendMessage

chat.sendMessage Send a message into a conversation Risk: write
Input
Output

updateWorkflow

chat.updateWorkflow Update a workflow’s status, output or failure reason Risk: write
Input
Output

Files

delete

files.delete Delete a file from a bot’s storage [DESTRUCTIVE] Risk: destructive
Input Output: empty object

listTags

files.listTags List tags used across a bot’s files Risk: read
Input Output

listTagValues

files.listTagValues List all values seen for a given file tag Risk: read
Input Output

Hub

getDereferencedPluginById

hub.getDereferencedPluginById Get a public plugin with interface entity references resolved Risk: read
Input
Output: object

getIntegration

hub.getIntegration Get a public integration by name and version Risk: read
Input Output

getIntegrationById

hub.getIntegrationById Get a public integration by id Risk: read
Input Output

getInterface

hub.getInterface Get a public interface by name and version Risk: read
Input Output

getInterfaceById

hub.getInterfaceById Get a public interface by id Risk: read
Input Output

getPlugin

hub.getPlugin Get a public plugin by name and version Risk: read
Input Output

getPluginById

hub.getPluginById Get a public plugin by id Risk: read
Input Output

getPluginCode

hub.getPluginCode Get a public plugin’s source code for a platform Risk: read
Input Output

listIntegrations

hub.listIntegrations List public integrations in the hub Risk: read
Input Output

listInterfaces

hub.listInterfaces List public interfaces in the hub Risk: read
Input Output

listPlugins

hub.listPlugins List public plugins in the hub Risk: read
Input Output

Integrations

create

integrations.create Create an integration in a workspace Risk: write
Input
Output

deleteShareableId

integrations.deleteShareableId Delete the shareable id for a bot-integration pair [DESTRUCTIVE] Risk: destructive
Input Output: empty object

get

integrations.get Get an integration by id Risk: read
Input Output

list

integrations.list List integrations owned by the workspace Risk: read
Input Output

listApiKeys

integrations.listApiKeys List Integration API Keys (IAKs) for an integration Risk: read
Input Output: object[]

requestVerification

integrations.requestVerification Submit an integration for verification Risk: write
Input Output: empty object

validateUpdate

integrations.validateUpdate Validate that an integration update would succeed Risk: read
Input
Output: empty object

Knowledge Bases

delete

knowledgeBases.delete Permanently delete a knowledge base [DESTRUCTIVE] Risk: destructive
Input Output: empty object

list

knowledgeBases.list List a bot’s knowledge bases Risk: read
Input
Output

Plugins

list

plugins.list List plugins installed in the workspace Risk: read
Input Output

Tools

getTableRow

tools.getTableRow Fetch a single row from a table by id Risk: read
Input Output

runVrl

tools.runVrl Execute a VRL script against input data Risk: write
Input
Output

Workspaces

breakDownUsageByBot

workspaces.breakDownUsageByBot Break down a workspace’s usage of a quota type by bot Risk: read
Input Output: object[]

checkHandleAvailability

workspaces.checkHandleAvailability Check whether a workspace handle is available Risk: read
Input Output

create

workspaces.create Create a workspace Risk: write
Input Output

delete

workspaces.delete Permanently delete a workspace [DESTRUCTIVE] Risk: destructive
Input Output: empty object

get

workspaces.get Get a workspace by id Risk: read
Input Output

getAllQuotaCompletion

workspaces.getAllQuotaCompletion Get the highest quota completion rate for every workspace Risk: read
Input: empty object Output: object

getQuota

workspaces.getQuota Get a workspace’s usage against a quota type Risk: read
Input Output

list

workspaces.list List workspaces owned by the account Risk: read
Input Output

listPublic

workspaces.listPublic List public workspaces Risk: read
Input Output

setPreference

workspaces.setPreference Set a workspace preference by key Risk: write
Input Output: empty object

update

workspaces.update Update workspace settings Risk: write
Input Output