Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node interacts with the Dataiku DSS API to perform various operations on datasets and other resources within a Dataiku project. Specifically, for the Dataset resource and the Delete Data operation, it clears the data contained in a specified dataset without deleting the dataset itself. This is useful when you want to reset or refresh the data inside a dataset while preserving its structure and metadata.

Common scenarios include:

  • Clearing outdated or incorrect data from a dataset before re-importing fresh data.
  • Automating dataset maintenance workflows where data needs to be periodically purged.
  • Managing data lifecycle in projects by programmatically controlling dataset contents.

Example use case:

  • You have a dataset named "sales_data" in your project "RetailProject". You want to delete all data inside this dataset to reload new sales records. Using this node with the Dataset resource and Delete Data operation, specifying the project key and dataset name, you can automate this clearing step.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project containing the dataset.
Dataset Name The name of the dataset whose data you want to delete (clear).
Query Parameters Optional additional parameters as key-value pairs to customize the API request.

Output

The output JSON contains the response from the Dataiku DSS API after attempting to delete the dataset's data. Typically, this will confirm success or provide details if an error occurred.

  • The json field includes the parsed API response.
  • No binary data output is expected for this operation.

Dependencies

  • Requires an active 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 the selected resource and operation.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not set or invalid, the node throws an error indicating missing Dataiku DSS API credentials. Ensure you configure valid API access tokens.
  • Required Parameter Errors: The node validates required parameters such as Project Key and Dataset Name. Omitting these will cause errors. Provide all mandatory inputs.
  • HTTP Request Failures: Network issues or incorrect API endpoint URLs may cause request failures. Verify connectivity and correct project/dataset names.
  • API Permission Issues: Insufficient permissions on the Dataiku project or dataset may result in authorization errors. Confirm that the API user has appropriate rights.

Links and References


This summary focuses on the Dataset resource with the Delete Data operation as requested, describing the node's purpose, inputs, outputs, dependencies, and common troubleshooting points.

Discussion