Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to interact programmatically with various Dataiku DSS resources and operations. Specifically for the Data Quality resource and the Get Last Rule Results operation, it retrieves the most recent results of all data quality rules defined on a specified dataset partition within a project.

This is useful in scenarios where you want to monitor or audit the quality of your datasets automatically, such as:

  • Fetching the latest data quality rule outcomes after a data pipeline run.
  • Integrating data quality checks into automated workflows or alerts.
  • Reporting or visualizing data quality metrics in dashboards or external systems.

Example use case: After running data ingestion and transformation jobs, you can use this node to get the last rule results for a dataset partition to verify if the data meets quality standards before proceeding.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project containing the dataset.
Dataset Name The name of the dataset on which to retrieve the last rule results.
Query Parameters Optional additional query parameters to filter or modify the request (e.g., partition info).

The Query Parameters collection allows adding key-value pairs that are appended as URL query parameters to the API call. This can include filters like partition identifiers or limits.

Output

The node outputs the JSON response from the Dataiku DSS API corresponding to the last results of all data quality rules applied to the specified dataset partition.

  • The output is an array of JSON objects, each representing the result of a data quality rule.
  • If the operation involves downloading files or binary content (not applicable here), the node would output binary data accordingly.
  • For this operation, the output is purely JSON data detailing rule results, including statuses, metrics, and possibly timestamps.

Dependencies

  • Requires a valid connection to a Dataiku DSS instance.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The node constructs HTTP requests to the Dataiku DSS REST API endpoints based on user input.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not set or invalid, the node will throw an error indicating missing credentials.
  • Required Parameter Errors: The node validates required parameters like Project Key and Dataset Name; missing these will cause errors.
  • API Request Failures: Network issues, incorrect project/dataset names, or insufficient permissions may cause API errors. Check the error message for details.
  • Parsing Errors: If the API returns non-JSON or unexpected responses, parsing might fail. Ensure the Dataiku DSS server is reachable and responding correctly.

Links and References


This summary focuses on the "Data Quality" resource and the "Get Last Rule Results" operation as requested, extracting relevant properties and behavior from the provided source code and property definitions.

Discussion