Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API to manage various resources within a Dataiku DSS instance. Specifically, for the Machine Learning - Saved Model resource and the Set Version Active operation, it allows users to set a particular version of a saved machine learning model as the active scoring version. This is useful in scenarios where multiple versions of a model exist, and you want to designate one as the current production or scoring version.

Practical examples include:

  • Activating a newly trained model version for real-time scoring.
  • Switching back to a previous stable model version after testing a new one.
  • Managing model lifecycle by controlling which version is actively used in deployments.

Properties

Name Meaning
Project Key The unique identifier of the project containing the saved model.
Save Model ID The identifier of the saved model for which the version will be set active.
Version ID The identifier of the specific version of the saved model to activate as the active one.

Output

The node outputs the JSON response from the Dataiku DSS API after attempting to set the specified model version as active. The output typically contains confirmation details about the action performed or any relevant metadata returned by the API.

If the operation involves downloading files (not applicable for this operation), binary data would be prepared accordingly, but for "Set Version Active," the output is JSON only.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs valid API credentials including the DSS server URL and a user API key.
  • The node uses HTTP requests to interact with the Dataiku DSS REST API endpoints.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not provided or invalid, the node throws an error indicating missing credentials. Ensure that the API key and server URL are correctly configured.
  • Required Parameters Missing: The node validates required parameters such as Project Key, Save Model ID, and Version ID. Omitting any of these will cause an error. Double-check that all required inputs are provided.
  • API Request Failures: Network issues, incorrect URLs, or insufficient permissions can cause API call failures. Review the error message for details and verify connectivity and access rights.
  • Unexpected Response Format: If the API returns non-JSON or unexpected content, parsing errors may occur. Check the API endpoint and ensure the Dataiku DSS instance is functioning properly.

Links and References

Discussion