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 Create Visual Analysis and ML Task operation, it allows creating a new visual analysis along with an associated machine learning task within a specified project.

This is beneficial in scenarios where you want to automate the setup of machine learning experiments and visual analyses as part of your data science pipeline. For example, you might use this node to programmatically create ML tasks and visual analyses based on incoming data or triggers, facilitating continuous integration and deployment of ML models.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project where the visual analysis and ML task will be created.
Request Body JSON object containing the details and configuration for the visual analysis and ML task to be created. This typically includes parameters defining the analysis scope, ML task settings, and other relevant metadata.

Output

The node outputs the response from the Dataiku DSS API call as JSON. This output contains the details of the newly created visual analysis and ML task, including identifiers and any metadata returned by the API.

If the operation involves downloading files or binary content (not applicable specifically for this operation), the node would output binary data accordingly.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) 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.

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.
  • Required Parameters Missing: The node validates required parameters such as Project Key and Analysis ID. If these are missing, the node will throw descriptive errors. Make sure all required fields are provided.
  • API Errors: Errors returned from the Dataiku DSS API will be surfaced with messages prefixed by "Error calling Dataiku DSS API". Check the message and stack trace for details.
  • Invalid JSON in Request Body: Ensure that the JSON provided in the Request Body property is well-formed and matches the expected schema for creating visual analyses and ML tasks in Dataiku DSS.

Links and References


Note: This summary focuses on the Machine Learning - Lab resource and the Create Visual Analysis and ML Task operation as requested. The node supports many other resources and operations not covered here.

Discussion