Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, enabling users to perform a wide range of operations on Dataiku DSS resources directly from n8n workflows. Specifically for the Machine Learning - Lab resource and the Reguess ML Task operation, it allows users to trigger a "reguess" action on an existing machine learning task within a project analysis. This can be used to re-evaluate or update the settings of an ML task based on new parameters or data.

Common scenarios where this node is beneficial include:

  • Automating ML task management in Dataiku DSS projects.
  • Triggering recalculations or updates on ML tasks as part of a larger automated pipeline.
  • Integrating Dataiku ML workflows with other systems via n8n.

Example use case:

  • After updating a dataset or model parameters in Dataiku DSS, automatically invoke the reguess operation on the corresponding ML task to refresh its configuration or predictions.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project containing the ML task.
Analysis ID The identifier of the specific analysis within the project related to the ML task.
ML Task ID The identifier of the machine learning task to perform the reguess operation on.
Query Parameters Optional additional query parameters as key-value pairs to customize the API request.

Output

The output of the node is a JSON array where each item corresponds to the response from the Dataiku DSS API call.

  • For the Reguess ML Task operation, the output JSON contains the API response confirming the reguess action was triggered or any relevant status information returned by the API.
  • The node does not output binary data for this operation.
  • If the API returns logs or textual responses, these are parsed into JSON if possible; otherwise, raw text is returned.

Dependencies

  • Requires a valid connection to a Dataiku DSS instance.
  • Requires an API key credential for authenticating with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.
  • No additional external dependencies beyond the Dataiku DSS API and n8n's HTTP request capabilities.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing Dataiku DSS API credentials, ensure that the API key and server URL are correctly set up in n8n credentials.
  • Required Parameter Errors: The node validates required parameters such as Project Key, Analysis ID, and ML Task ID. Missing any of these will cause an error. Double-check that all required fields are provided.
  • API Request Failures: Network issues, incorrect URLs, or insufficient permissions in Dataiku DSS may cause API errors. Review the error message for details and verify connectivity and access rights.
  • Unexpected Response Format: If the API returns unexpected data, the node attempts to parse JSON but may fallback to raw text. Check the Dataiku DSS API documentation for expected responses.

Links and References


This summary focuses on the Machine Learning - Lab resource and the Reguess ML Task operation as requested, describing the node's behavior, inputs, outputs, and usage context based on static code analysis.

Discussion