Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API to perform various operations on Dataiku DSS resources. Specifically, for the Insight resource and the Delete Insight operation, it allows users to delete an existing insight within a specified project in Dataiku DSS.

Common scenarios where this node is beneficial include automating the management of insights in Dataiku projects, such as cleaning up obsolete or incorrect insights programmatically as part of a workflow.

For example, if you have a project that generates multiple insights over time and want to automate the removal of outdated ones, this node can be configured to delete specific insights by their ID without manual intervention.

Properties

Name Meaning
Project Key The unique key identifier of the Dataiku DSS project containing the insight.
Insight ID The unique identifier of the insight to be deleted within the specified project.

Output

The output of the node after deleting an insight will be a JSON object representing the response from the Dataiku DSS API. Typically, for a delete operation, the response might be empty or contain status information confirming the deletion.

  • The json output field contains the parsed JSON response from the API.
  • If the API returns no content (HTTP 204), the node outputs a JSON object with "Status Code": "204 No Content".
  • No binary data output is expected for this operation.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authentication with the Dataiku DSS server.
  • 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.
  • Project Key Required: The node requires the project key to identify the project context. Make sure the "Project Key" property is provided.
  • Insight ID Required: The node requires the insight ID to specify which insight to delete. Ensure the "Insight ID" property is filled.
  • API Errors: If the API call fails, the node will throw an error with the message returned by the Dataiku DSS API. Common causes include invalid project key, non-existent insight ID, or insufficient permissions.
  • Network Issues: Verify network connectivity to the Dataiku DSS server and that the server URL is correct.

Links and References


This summary focuses on the "Insight" resource and the "Delete Insight" operation as requested, based on static analysis of the provided source code and properties.

Discussion