Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node interacts with the Dataiku DSS API to perform various operations on different resources within a Dataiku DSS instance. Specifically, for the Model Comparison resource and the Delete Model Comparison operation, it deletes a specified model comparison from a project.

Typical use cases include automating the management of model comparisons in Dataiku DSS projects, such as cleaning up obsolete or unwanted model comparisons programmatically. For example, you might use this node to delete a model comparison by providing its ID and the associated project key, helping maintain an organized project environment.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project where the model comparison exists.
Model Comparison ID The unique identifier of the model comparison to be deleted.

Output

The output is a JSON array containing the response from the Dataiku DSS API after attempting to delete the specified model comparison. Typically, for a delete operation, the response may be empty or contain status information confirming the deletion.

  • The json field will hold the parsed JSON response if any.
  • If the API returns no content (HTTP 204), the output will indicate "Status Code": "204 No Content".
  • This node does not output binary data for this operation.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires an API authentication token credential for the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.
  • No additional external dependencies are required.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not provided or invalid, the node will throw an error indicating missing Dataiku DSS API credentials.
  • Required Parameter Missing: The node validates that both the Project Key and Model Comparison ID are provided; otherwise, it throws an error specifying which parameter is missing.
  • API Request Failures: Errors returned from the Dataiku DSS API (e.g., unauthorized access, resource not found) will be surfaced as node errors with descriptive messages.
  • Parsing Response Errors: If the API response is not valid JSON when expected, the node attempts to return raw text but may fail if the response is malformed.

To resolve issues:

  • Ensure correct and valid API credentials are set.
  • Verify that the Project Key and Model Comparison ID are correctly specified.
  • Check network connectivity and API permissions.
  • Review the error message details for specific API error codes or messages.

Links and References


This summary focuses on the Model Comparison resource and the Delete Model Comparison operation as requested.

Discussion