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
- POSTMake batch calls for 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
Row Group
A Row
object in SDK corresponds to a single row in a worker’s table.
Initialize
You can either initialize a Row
from scratch, or using an already initialized Table
object, both methods are shown below.
Copy
import {Brainbase, Row} from "brainbase-ai"
// From scratch
const row = Row(api_key="YOUR_API_KEY", table_id="TABLE_ID", row_id="ROW_ID")
// From table
const row = table.row(id="ROW_ID")
Populate
The SDK provides a convenience function for populating a column in the specified row. This will extract the necessary information and fill in the column for the row.
Copy
import {Brainbase, Row} from "brainbase-ai"
row.populate(column_keys=["KEY_1", "KEY_2"])
Delete
Copy
import {Brainbase, Row} from "brainbase-ai"
row.delete()
Run Action
You can run a worker action on a selected row using the run
function. How to create Action
.
Copy
import {Brainbase, Row} from "brainbase-ai"
row.run(action)
On this page
Assistant
Responses are generated using AI and may contain mistakes.