Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, enabling users to interact programmatically with a wide range of Dataiku DSS resources and operations. Specifically, for the Machine Learning - Lab resource and the Create ML Task operation, it allows creating new machine learning tasks within a specified project and analysis context.

Common scenarios where this node is beneficial include automating the creation and management of machine learning tasks in Dataiku DSS projects, integrating ML workflows into broader automation pipelines, or triggering ML task creation dynamically based on external events or data inputs.

For example, you might use this node to:

  • Automatically create an ML task when new data becomes available.
  • Integrate ML task creation as part of a CI/CD pipeline for data science projects.
  • Programmatically manage multiple ML tasks across different projects without manual intervention.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project where the ML task will be created.
Analysis ID The identifier of the analysis within the project under which the ML task is created.
Request Body A JSON object containing the detailed configuration and parameters for the ML task.

Output

The node outputs the response from the Dataiku DSS API call in the json field. This typically includes details about the newly created ML task such as its ID, status, configuration, and any other metadata returned by the API.

If the operation involves downloading files or binary content (not applicable specifically for "Create ML Task"), the node would output this data in the binary field, properly prepared for further use in n8n workflows.

Dependencies

  • Requires valid Dataiku DSS API credentials, including the server URL and an API key.
  • The node expects these credentials to be configured in n8n prior to execution.
  • Network access to the Dataiku DSS instance must be available from the n8n environment.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Dataiku DSS API credentials are correctly set up in n8n.
  • Required Parameter Errors: The node validates required parameters like Project Key, Analysis ID, and ML Task ID. Missing any of these will cause errors. Double-check that all required fields are provided.
  • API Request Failures: Network issues, incorrect URLs, or insufficient permissions can cause API request failures. Verify connectivity and user permissions in Dataiku DSS.
  • Invalid JSON in Request Body: The Request Body property must contain valid JSON. Invalid JSON will cause parsing errors.
  • Unexpected Response Format: If the API returns unexpected data, check the Dataiku DSS API version compatibility and the correctness of input parameters.

Links and References


This summary focuses on the Machine Learning - Lab resource and the Create ML Task operation, extracting relevant properties and behavior from the provided source code and property definitions.

Discussion