Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API to perform various operations on Dataiku resources. Specifically, for the Machine Learning - Saved Model resource and the Delete Version operation, it allows users to delete one or more versions of a saved machine learning model within a specified project.

This is useful in scenarios where you want to manage the lifecycle of your saved ML models by removing outdated or unnecessary versions to keep your project clean and maintainable.

Example use case:
You have multiple versions of a saved model in your Dataiku project, and after validating a new version, you want to delete older versions programmatically as part of an automated workflow.

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 from which you want to delete versions.
Query Parameters Optional additional query parameters to customize the request (e.g., specifying versions to delete).

Details on "Query Parameters" options relevant to this operation:

  • versions (string): Specifies which versions to delete. This is passed as a query parameter in the API call.
  • Other parameters can be added but are generally optional and depend on the API's support.

Output

The output of this operation is the JSON response from the Dataiku DSS API after attempting to delete the specified saved model versions. It typically contains status information about the deletion request.

If the deletion is successful, the output will confirm the action; if not, it will contain error details.

No binary data is returned for this operation.

Dependencies

  • Requires a valid connection to a Dataiku DSS instance.
  • Requires an API key credential for authentication 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 API key or server URL is not provided, the node will throw an error indicating missing credentials.
  • Missing Required Parameters: The node validates required parameters such as Project Key and Save Model ID. Omitting these will cause errors.
  • Version ID Requirement: For deleting versions, the version ID(s) must be specified either via query parameters or other inputs; otherwise, the API call will fail.
  • API Errors: Any HTTP or API errors from Dataiku DSS will be surfaced as node errors with messages including the API error details.
  • Network Issues: Ensure that 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 Delete Version operation as requested, based on static analysis of the provided source code and property definitions.

Discussion