# Dataiku — Pipedream Connect

> The Universal AI Platform

- API slug: `dataiku` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Artificial Intelligence (AI)
- Website: https://www.dataiku.com
- This page (HTML): https://pipedream.com/apps/dataiku
- Tools: 8 actions · 0 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: dataiku`

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

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

const { tools } = await mcp.listTools()

// e.g. run Build Dataset:
const result = await mcp.callTool({
  name: "dataiku-build-dataset",
  arguments: {
    projectKey: "Project Key",
    outputIds: ["Outputs To Build"],
  },
})
```

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

## API proxy

For a Dataiku 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://api.example.com/v1/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?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: "dataiku-build-dataset",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    dataiku: { authProvisionId: "apn_xxxxxxx" },
    projectKey: "Project Key",
    outputIds: ["Outputs To Build"],
  },
})
```

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

## Actions (8)

### `dataiku-build-dataset` — Build Dataset (Write)

Start a job that builds one or more outputs (typically datasets) in a DSS project. Use this to rebuild specific outputs directly; use Run Scenario instead when the pipeline is already orchestrated as a scenario. Use List Datasets to find valid output names. A successful call only means the job was…

Full schema: https://pipedream.com/apps/dataiku/actions/build-dataset.md

### `dataiku-get-job-status` — Get Job Status (Read-only)

Check the status of a DSS build job, returned as baseStatus.status. Poll this after Build Dataset using the id it returned. NOT_STARTED and RUNNING mean the job is still in flight; DONE, FAILED and ABORTED are terminal, so stop polling on any of them and treat FAILED/ABORTED as an unsuccessful…

Full schema: https://pipedream.com/apps/dataiku/actions/get-job-status.md

### `dataiku-list-datasets` — List Datasets (Read-only)

List the datasets of a DSS project. Use this to discover a dataset's name — the identifier Build Dataset needs to build it — along with its type (e.g. Filesystem) and connection parameters. Use List Projects first if you do not know the project key. Requires the READ_CONF privilege on the project…

Full schema: https://pipedream.com/apps/dataiku/actions/list-datasets.md

### `dataiku-list-jobs` — List Jobs (Read-only)

Retrieve the latest build jobs of a DSS project, each with its jobId and state. Use this to check what a project has been building recently, or to recover a jobId you no longer have before calling Get Job Status. Requires the READ_CONF privilege on the project. See the documentation

Full schema: https://pipedream.com/apps/dataiku/actions/list-jobs.md

### `dataiku-list-projects` — List Projects (Read-only)

List the projects on the DSS instance. Start here when you only know a project by its display name: every other Dataiku tool is addressed by projectKey (e.g. MYPROJECT), which this tool returns. Only projects the connected API key holds the READ_CONF privilege on are listed, so an empty result…

Full schema: https://pipedream.com/apps/dataiku/actions/list-projects.md

### `dataiku-list-scenario-runs` — List Scenario Runs (Read-only)

Retrieve the last runs of a DSS scenario. Use this after Run Scenario, which returns no run identifier of its own, to follow the outcome: each entry carries a runId, start/end timestamps and a result object reporting outcome (e.g. SUCCESS) and type (e.g. SCENARIO_DONE). This tool cannot tell you…

Full schema: https://pipedream.com/apps/dataiku/actions/list-scenario-runs.md

### `dataiku-list-scenarios` — List Scenarios (Read-only)

List the scenarios of a DSS project, with each scenario's id, whether it is currently running, and whether it is active (i.e. responding to its own triggers). Call this before Run Scenario to find a valid scenario ID, or to check whether a scenario is already in flight before starting another run…

Full schema: https://pipedream.com/apps/dataiku/actions/list-scenarios.md

### `dataiku-run-scenario` — Run Scenario (Write)

Start a run of a DSS scenario — the usual way to kick off an orchestrated pipeline (a sequence of builds, checks and reporters) as opposed to building a single dataset, which Build Dataset does. Use List Scenarios to find a valid scenario ID. A successful call only means the run was accepted, and…

Full schema: https://pipedream.com/apps/dataiku/actions/run-scenario.md

---

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