Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

The node integrates with the Dataiku DSS API to perform various operations on Dataiku resources. Specifically, for the Dataset resource and the Compute Metrics operation, it allows users to compute metrics defined on a specified dataset within a project. This is useful for data quality monitoring, analytics, and reporting workflows where metric computation on datasets is required.

Typical use cases include:

  • Triggering metric computations on datasets after data ingestion or transformation.
  • Automating data quality checks by computing relevant metrics programmatically.
  • Integrating Dataiku DSS dataset metrics into broader automation or orchestration pipelines.

Example: A user can configure this node to compute all metrics on a dataset named "sales_data" in project "my_project" to update dashboards or trigger alerts based on metric results.

Properties

Name Meaning
Project Key The key identifier of the Dataiku project containing the dataset.
Dataset Name The name of the dataset on which to compute metrics.
Query Parameters Optional additional query parameters as key-value pairs to customize the API request.
Request Body JSON object representing the body of the request; used for passing additional options.

Output

The output is a JSON array where each item corresponds to the response from the Dataiku DSS API for the compute metrics action. The structure depends on the API response but generally includes computed metric values and related metadata for the dataset.

If the API returns binary data (not typical for this operation), it would be provided as binary output, but for Compute Metrics, the output is JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authentication.
  • The node uses HTTP requests to communicate with the Dataiku DSS REST API.
  • No additional external services are needed beyond the Dataiku DSS API.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Dataiku DSS API credentials (API key and server URL) are configured correctly in n8n.
  • Project Key or Dataset Name Required: The node requires both the project key and dataset name to be set for this operation. Missing these will cause errors.
  • API Errors: Errors returned from the Dataiku DSS API (e.g., 404 if dataset not found, 403 for permission issues) will be surfaced as node errors. Verify project access and dataset existence.
  • Invalid JSON in Request Body: If using the Request Body property, ensure the JSON is well-formed to avoid parsing errors.
  • Network Issues: Connectivity problems to the Dataiku DSS server will cause request failures.

Links and References


This summary focuses on the Dataset resource's Compute Metrics operation as requested, describing its purpose, inputs, outputs, dependencies, and common troubleshooting points based on static analysis of the node code and provided properties.

Discussion