# Brainbase Labs — Pipedream Connect

> Brainbase is a first of its kind Enterprise Agent Platform (EAP) that gives large enterprise IT teams a single place to build, deploy and test their company’s AI workforce.

- API slug: `brainbase_labs` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Artificial Intelligence (AI)
- Website: https://brainbaselabs.com
- This page (HTML): https://pipedream.com/apps/brainbase-labs
- Tools: 26 actions · 1 trigger

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: brainbase_labs`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "brainbase_labs",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Flow:
const result = await mcp.callTool({
  name: "brainbase_labs-create-flow",
  arguments: {
    workerId: "Worker ID",
    name: "Name",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Brainbase Labs endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://brainbase-monorepo-api.onrender.com/api/team

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9icmFpbmJhc2UtbW9ub3JlcG8tYXBpLm9ucmVuZGVyLmNvbS9hcGkvdGVhbQ?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "brainbase_labs-create-flow",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    brainbase_labs: { authProvisionId: "apn_xxxxxxx" },
    workerId: "Worker ID",
    name: "Name",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (26)

### `brainbase_labs-create-flow` — Create Flow (Write)

Create a new flow for a worker. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/create-flow.md

### `brainbase_labs-create-twilio-integration` — Create Twilio Integration (Write)

Create a new Twilio integration for the authenticated team. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/create-twilio-integration.md

### `brainbase_labs-create-voice-deployment` — Create Voice Deployment (Write)

Create a new voice deployment. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/create-voice-deployment.md

### `brainbase_labs-create-worker` — Create Worker (Write)

Create a new worker for the team. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/create-worker.md

### `brainbase_labs-delete-flow` — Delete Flow (Write)

Delete a flow. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/delete-flow.md

### `brainbase_labs-delete-integration` — Delete Integration (Write)

Delete an existing Twilio integration. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/delete-integration.md

### `brainbase_labs-delete-phone-number` — Delete Phone Number (Write)

Delete a registered phone number for the team. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/delete-phone-number.md

### `brainbase_labs-delete-voice-deployment` — Delete Voice Deployment (Write)

Delete a voice deployment. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/delete-voice-deployment.md

### `brainbase_labs-delete-worker` — Delete Worker (Write)

Delete a worker. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/delete-worker.md

### `brainbase_labs-get-flow` — Get Flow (Read-only)

Get a single flow by ID. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/get-flow.md

### `brainbase_labs-get-integration` — Get Integration (Read-only)

Get a specific integration by ID. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/get-integration.md

### `brainbase_labs-get-phone-numbers` — Get Phone Numbers (Read-only)

Get all registered phone numbers for the team, optionally filtered by integration id. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/get-phone-numbers.md

### `brainbase_labs-get-team` — Get Team (Read-only)

Get the team associated with the provided API key. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/get-team.md

### `brainbase_labs-get-voice-deployment` — Get Voice Deployment (Read-only)

Get a single voice deployment by ID. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/get-voice-deployment.md

### `brainbase_labs-get-voice-deployment-log` — Get Voice Deployment Log (Read-only)

Retrieve a single voice deployment log record. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/get-voice-deployment-log.md

### `brainbase_labs-get-worker` — Get Worker (Read-only)

Get a single worker by ID. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/get-worker.md

### `brainbase_labs-list-flows` — List Flows (Read-only)

Get all flows for a worker. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/list-flows.md

### `brainbase_labs-list-integrations` — List Integrations (Read-only)

Get all integrations for the authenticated team. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/list-integrations.md

### `brainbase_labs-list-voice-deployment-logs` — List Voice Deployment Logs (Read-only)

List voice deployment logs for a worker with optional filtering and pagination. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/list-voice-deployment-logs.md

### `brainbase_labs-list-voice-deployments` — List Voice Deployments (Read-only)

Get all voice deployments for a worker. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/list-voice-deployments.md

### `brainbase_labs-list-workers` — List Workers (Read-only)

Get all workers for the team. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/list-workers.md

### `brainbase_labs-make-voice-batch-calls` — Make Voice Batch Calls (Write)

Make batch calls for a voice deployment. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/make-voice-batch-calls.md

### `brainbase_labs-register-phone-number` — Register Phone Number (Write)

Register a phone number for the team via Twilio integration. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/register-phone-number.md

### `brainbase_labs-update-flow` — Update Flow (Write)

Update an existing flow. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/update-flow.md

### `brainbase_labs-update-voice-deployment` — Update Voice Deployment (Write)

Update an existing voice deployment. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/update-voice-deployment.md

### `brainbase_labs-update-worker` — Update Worker (Write)

Update an existing worker. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/actions/update-worker.md

## Triggers (1)

### `brainbase_labs-new-deployment-log-created` — New Deployment Log Created (Polling)

Emit new event when a new deployment log is created. See the documentation

Full schema: https://pipedream.com/apps/brainbase-labs/triggers/new-deployment-log-created.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
