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 various Dataiku DSS resources and operations. Specifically, for the Machine Learning - Lab resource and the Get ML Task Status operation, it retrieves the current status of a specified machine learning task within a project analysis.

This is useful in scenarios where you want to monitor the progress or state of an ML task (e.g., training, completed, failed) as part of an automated workflow. For example, after triggering a model training task, you can use this node to poll and check if the task has finished successfully before proceeding with downstream steps like deployment or evaluation.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project containing the ML task.
Analysis ID The identifier of the specific analysis within the project that contains the ML task.
ML Task ID The identifier of the machine learning task whose status you want to retrieve.

These properties are required to specify exactly which ML task's status should be fetched.

Output

The node outputs JSON data representing the status of the specified ML task. The structure corresponds to the response from the Dataiku DSS API endpoint for ML task status, typically including fields such as:

  • Current state of the ML task (e.g., running, completed, failed)
  • Progress metrics or percentage completion
  • Any error messages or logs if applicable
  • Timestamps related to task start, end, or last update

If the API returns binary data (not typical for this operation), it would be provided as binary output, but for "Get ML Task Status" the output is JSON.

Dependencies

  • Requires valid credentials for the Dataiku DSS API, specifically an API key credential.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.
  • 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 properly set up in n8n.
  • 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 inputs are provided.
  • API Request Failures: Network issues, incorrect server URLs, or invalid API keys can cause request failures. Verify connectivity and credentials.
  • Unexpected Response Format: If the API changes or returns unexpected data, parsing errors may occur. Check the Dataiku DSS API documentation for updates.

Links and References


This summary focuses on the "Machine Learning - Lab" resource and the "Get ML Task Status" operation, describing how the node constructs the API request, required inputs, and expected outputs based on static code analysis.

Discussion