Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to perform a wide range of operations on Dataiku DSS resources directly from n8n workflows. Specifically for the Dataset Statistic resource and the Run Computation operation, it enables running computations within the context of a statistics worksheet associated with a dataset in a project.

Common scenarios where this node is beneficial include:

  • Automating data quality checks and statistical analyses on datasets.
  • Triggering computations on dataset statistics worksheets as part of a data pipeline.
  • Integrating Dataiku DSS dataset statistics computations into broader automation workflows.

For example, you can use this node to run a specific computation on a worksheet that summarizes key statistics of a dataset, then use the results downstream for reporting or alerting.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project containing the dataset.
Dataset Name The name of the dataset on which the statistics worksheet exists.
Worksheet ID The identifier of the statistics worksheet within the dataset where the computation runs.
Request Body JSON object specifying parameters or configuration for the computation to be executed.

These properties are required to specify the exact context (project, dataset, worksheet) and details of the computation to run.

Output

The node outputs the response from the Dataiku DSS API after running the computation on the specified statistics worksheet. The output is provided as JSON data under the json field.

If the API returns binary data (not typical for this operation), it would be available in the binary field, but for the "Run Computation" operation on dataset statistics worksheets, the output is expected to be JSON describing the result of the computation.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key token) for authentication with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Required Parameter Errors: The node validates required parameters such as Project Key, Dataset Name, and Worksheet ID. Missing any of these will cause errors. Double-check that all required fields are filled.
  • API Request Failures: Network issues or incorrect API endpoint URLs may cause request failures. Verify the Dataiku DSS server URL and network connectivity.
  • Invalid JSON in Request Body: If the Request Body JSON is malformed, the API call will fail. Validate the JSON syntax before execution.

Links and References


This summary focuses on the Dataset Statistic resource's Run Computation operation, explaining how to configure and use the node to trigger computations on dataset statistics worksheets in Dataiku DSS.

Discussion