Assets
Chat Deployment Logs
Chat Deployments
Voice Deployments
- GETList custom webhooks for a deployment
- POSTCreate a new custom webhook for voice deployment
- GETGet a specific custom webhook
- DELDelete a custom webhook
- PATCHUpdate a custom webhook
- GETGet all voice deployments for a worker
- POSTCreate a new voice deployment
- GETGet a single voice deployment
- DELDelete a voice deployment
- PATCHUpdate a voice deployment
Voice Deployment Logs
Flows
Integrations
Folders
Resources
Tests
Voice V1 Deployments
- GETGet all voice v1 deployments for a worker
- POSTCreate a new voice v1 deployment
- GETGet a single voice v1 deployment
- PUTUpdate a voice v1 deployment
- DELDelete a voice v1 deployment
- POSTCreate a new campaign for a voice v1 deployment
- POSTMake batch calls for a voice v1 deployment
- POSTRun a campaign with provided data
- GETGet a campaign by ID
- GETGet specific campaign data by ID
- PUTUpdate specific campaign data by ID
Chat Deployments
Create a new chat deployment
POST
/
api
/
workers
/
{workerId}
/
deployments
/
chat
curl --request POST \
--url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/deployments/chat \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"flowId": "<string>",
"allowedUsers": "<string>",
"welcomeMessage": "<string>",
"llmModel": "<string>",
"modelConfig": "<string>",
"extractions": "<string>",
"successCriteria": [
{
"title": "<string>",
"description": "<string>",
"items": [
{
"title": "<string>",
"description": "<string>",
"type": "BINARY",
"threshold": 123
}
]
}
]
}'
{
"id": "<string>",
"allowedUsers": "<string>",
"welcomeMessage": "<string>",
"llmModel": "<string>",
"modelConfig": {},
"chatAgentId": "<string>"
}
Authorizations
API key authentication
Path Parameters
Body
application/json
Response
201
application/json
Chat deployment created
The response is of type object
.
curl --request POST \
--url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/deployments/chat \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"flowId": "<string>",
"allowedUsers": "<string>",
"welcomeMessage": "<string>",
"llmModel": "<string>",
"modelConfig": "<string>",
"extractions": "<string>",
"successCriteria": [
{
"title": "<string>",
"description": "<string>",
"items": [
{
"title": "<string>",
"description": "<string>",
"type": "BINARY",
"threshold": 123
}
]
}
]
}'
{
"id": "<string>",
"allowedUsers": "<string>",
"welcomeMessage": "<string>",
"llmModel": "<string>",
"modelConfig": {},
"chatAgentId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.