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 various Dataiku DSS resources. Specifically for the Machine Learning - Saved Model resource and the Get Version Scoring Jar operation, it allows retrieving the scoring JAR file associated with a specific version of a saved machine learning model in a project.

This is useful when you want to download the compiled Java scoring artifact (JAR) for a particular model version, which can then be used for optimized scoring or deployment outside of Dataiku DSS.

Practical example:

  • You have a saved ML model in your Dataiku project and want to export its scoring JAR to integrate it into an external Java application or scoring environment. This node fetches that JAR file directly from the DSS API.

Properties

Name Meaning
Project Key The unique key identifying the Dataiku project containing the saved model.
Save Model ID The identifier of the saved model from which to get the version scoring JAR.
Version ID The specific version identifier of the saved model for which to retrieve the scoring JAR.
Query Parameters Optional additional query parameters as key-value pairs to customize the API request.

Output

The output contains either JSON data or binary data depending on the operation:

  • For the Get Version Scoring Jar operation under Machine Learning - Saved Model, the node outputs the scoring JAR file as binary data.
    This binary data represents the actual JAR file content, ready for download or further processing.

  • In general, if the response is JSON, it is parsed and returned as JSON in the json field. If the response is a downloadable file (like the scoring JAR), it is returned in the binary field under the key data.

Dependencies

  • Requires a valid Dataiku DSS API credential, including:
    • The DSS server URL.
    • A user API key for authentication.
  • The node uses HTTP requests to communicate with the Dataiku DSS REST API.
  • No other external dependencies are required.

Troubleshooting

  • Missing Credentials Error:
    If the node throws "Missing Dataiku DSS API Credentials," ensure you have configured the API credentials correctly in n8n with the DSS server URL and a valid API key.

  • Required Parameter Errors:
    The node validates required parameters such as Project Key, Save Model ID, and Version ID. Missing any of these will cause errors like "Project Key is required" or "Save Model ID is required." Make sure all mandatory fields are filled.

  • API Request Failures:
    Network issues, incorrect URLs, or insufficient permissions may cause API call failures. Check the DSS server accessibility and user permissions.

  • Binary Data Handling:
    When downloading files like the scoring JAR, ensure subsequent nodes handle binary data properly to avoid corruption.

Links and References


This summary focuses on the Machine Learning - Saved Model resource and the Get Version Scoring Jar operation as requested.

Discussion