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 Start Training ML Task operation, the node initiates the training process of a machine learning task within a specified project and analysis context in Dataiku DSS.

This functionality is beneficial when automating machine learning workflows, such as triggering model training after data preparation steps or scheduling retraining tasks based on new data availability. For example, you can use this node to start training an ML task programmatically as part of a CI/CD pipeline or integrate it into a larger data processing workflow.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project where the ML task resides.
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 be trained.
Request Body A JSON object containing additional parameters or configurations for the training request.

Output

The node outputs the response from the Dataiku DSS API call in the json field. This typically includes details about the initiated training task, such as status or confirmation of the training start.

If the API returns binary data (not typical for this operation), it would be provided in the binary field, but for starting training, the output is expected to be JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs valid API credentials: specifically, an API key credential for authentication.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.
  • No other external dependencies are required.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Dataiku DSS API Credentials," ensure that the API key credential is properly set up in n8n.
  • Required Parameter Errors: The node validates essential parameters like Project Key, Analysis ID, and ML Task ID. Missing any of these will cause errors. Double-check that these inputs are correctly provided.
  • API Call Failures: Network issues, incorrect server URLs, or invalid API keys can cause request failures. Verify connectivity and credentials.
  • Unexpected Response Format: If the API response cannot be parsed as JSON, check if the Dataiku DSS server is returning error messages or unexpected content.

Links and References


This summary focuses on the Machine Learning - Lab resource and the Start Training ML Task operation, describing how the node triggers ML task training in Dataiku DSS using the provided project, analysis, and task identifiers.

Discussion