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 project. Specifically, for the Machine Learning - Saved Model resource and the Update Saved Model operation, it allows users to update the settings or metadata of an existing saved machine learning model in a specified project.

Common scenarios where this node is beneficial include:

  • Automating updates to saved ML models' configurations or metadata as part of a CI/CD pipeline.
  • Programmatically managing model versions and their attributes without manual intervention in the Dataiku UI.
  • Integrating model management into broader workflows that involve other Dataiku resources.

For example, you might use this node to update the description or tags of a saved model after retraining it, or to change its active version programmatically.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project containing the saved model.
Save Model ID The identifier of the saved model to update.
Request Body A JSON object containing the fields and values to update on the saved model.

Output

The node outputs the response from the Dataiku DSS API after performing the update operation. The output is a JSON object representing the updated saved model's details or confirmation of the update.

If the operation involves downloading files (not applicable for update), the node can output binary data representing those files. For the update operation, the output is purely JSON.

Dependencies

  • Requires valid Dataiku DSS API credentials including:
    • The URL of the Dataiku DSS server.
    • An API key for authentication.
  • The node must be configured with these credentials in n8n before execution.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Dataiku DSS API Credentials," ensure that the API key credential is properly set up in n8n.
  • Required Parameter Missing: Errors like "Project Key is required" or "Save Model ID is required" indicate missing mandatory input parameters. Verify all required fields are provided.
  • API Errors: If the API returns errors, check the request body JSON for correctness and ensure the user has sufficient permissions in Dataiku DSS.
  • Invalid JSON in Request Body: The Request Body property must contain valid JSON. Invalid JSON will cause parsing errors.
  • Network Issues: Ensure the Dataiku DSS server is reachable from the n8n environment.

Links and References


This summary focuses on the Machine Learning - Saved Model resource and the Update Saved Model operation, describing how the node constructs the API request and handles the response based on static code analysis.

Discussion