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 Dataiku DSS resources directly from n8n workflows. Specifically, for the Machine Learning - Saved Model resource and the Create Saved Model operation, it allows creating a new saved model in a specified project. This is useful for managing machine learning models stored in Dataiku DSS, including MLflow or external models.

Common scenarios include:

  • Automating the creation of saved models as part of a CI/CD pipeline.
  • Integrating model management into broader data workflows.
  • Programmatically managing model versions and metadata.

Example: Automatically create a saved model in a project after training completes, by providing the project key and model details in the request body.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project where the saved model will be created.
Request Body JSON object containing the details and configuration of the saved model to create.

The Request Body property expects a JSON structure defining the saved model's attributes according to the Dataiku DSS API specification for creating saved models.

Output

The node outputs the response from the Dataiku DSS API call in the json field. For the "Create Saved Model" operation, this typically includes details about the newly created saved model, such as its ID, name, and other metadata returned by the API.

If the operation involves downloading files (not applicable here), binary data would be output instead.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authentication with the Dataiku DSS API.
  • The node uses HTTP requests to communicate with the Dataiku DSS REST API endpoints.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that you have configured the required API key credential for Dataiku DSS in n8n.
  • Project Key Required: Many operations require the project key; if omitted, the node will throw an error. Always provide the correct project key.
  • Invalid Request Body: The request body must be valid JSON matching the expected schema for the saved model creation. Invalid JSON or missing required fields will cause API errors.
  • API Endpoint Errors: Errors from the Dataiku DSS API (e.g., 4xx or 5xx responses) will be surfaced as node errors. Check the error message for details and verify your input parameters and API server status.

Links and References


Note: This summary is based on static analysis of the node's source code and provided properties, focusing on the Machine Learning - Saved Model resource and Create Saved Model operation.

Discussion