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 Model Comparison resource and the Create Model Comparison operation, it allows creating a new model comparison within a specified project in Dataiku DSS.

Typical use cases include automating the creation of model comparisons as part of machine learning workflows, integrating model evaluation steps into data pipelines, or managing model lifecycle programmatically. For example, after training multiple models, you can use this node to create a model comparison object that helps analyze and compare their performance metrics directly from n8n.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project where the model comparison will be created.
Request Body JSON object containing the details of the model comparison to create. This should follow the Dataiku DSS API specification for model comparison creation.

Output

The node outputs the response from the Dataiku DSS API call in the json field. This typically includes the details of the newly created model comparison object as returned by the API.

If the API returns binary data (not typical for this operation), it would be provided in the binary field, but for creating a model comparison, the output is expected to be JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires an API key credential for authenticating 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 node throws an error about missing credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Project Key Required: The operation requires a valid project key; if omitted or incorrect, the node will throw an error.
  • Invalid Request Body: The request body must be a valid JSON object matching the expected schema for model comparison creation in Dataiku DSS. Invalid JSON or missing required fields will cause API errors.
  • API Errors: Any HTTP errors returned by the Dataiku DSS API will be surfaced as node errors with messages indicating the problem. Check the API documentation and your input parameters for correctness.

Links and References

Discussion