# BigML — Pipedream Connect

> Machine Learning made beautifully simple. A company-wide platform that runs in any cloud or on-premises to operationalize Machine Learning in your organization.

- API slug: `bigml` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Developer Tools
- Website: https://bigml.com/
- This page (HTML): https://pipedream.com/apps/bigml
- Tools: 3 actions · 2 triggers

## 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: bigml`

```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": "bigml",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Create Batch Prediction:
const result = await mcp.callTool({
  name: "bigml-create-batch-prediction",
  arguments: {
    modelId: "Model ID",
    datasetId: "Dataset ID",
  },
})
```

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

## API proxy

For a BigML 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://bigml.io/andromeda/source

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9iaWdtbC5pby9hbmRyb21lZGEvc291cmNl?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: "bigml-create-batch-prediction",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    bigml: { authProvisionId: "apn_xxxxxxx" },
    modelId: "Model ID",
    datasetId: "Dataset ID",
  },
})
```

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

## Actions (3)

### `bigml-create-batch-prediction` — Create Batch Prediction (Write)

Create a batch prediction given a Supervised Model ID and a Dataset ID. See the docs.

Full schema: https://pipedream.com/apps/bigml/actions/create-batch-prediction.md

### `bigml-create-model` — Create Model (Write)

Create a model based on a given source ID, dataset ID, or model ID. See the docs.

Full schema: https://pipedream.com/apps/bigml/actions/create-model.md

### `bigml-create-source-remote-url` — Create Source (Remote URL) (Write)

Create a source with a provided remote URL that points to the data file that you want BigML to download for you. See the docs.

Full schema: https://pipedream.com/apps/bigml/actions/create-source-remote-url.md

## Triggers (2)

### `bigml-new-model-created` — New Model Created (Polling)

Emit new event for every created model. See docs here.

Full schema: https://pipedream.com/apps/bigml/triggers/new-model-created.md

### `bigml-new-prediction-made` — New Prediction Made (Polling)

Emit new event for every made prediction. See docs here.

Full schema: https://pipedream.com/apps/bigml/triggers/new-prediction-made.md

---

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