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 Get Saved Model operation, it retrieves details of a specific saved machine learning model within a project.

This node is beneficial when you want to programmatically access metadata or configuration of saved ML models in Dataiku DSS projects. For example, you might use it to fetch model information before deploying, evaluating, or updating the model in 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 machine learning model to retrieve details for.

Output

The output of this operation is a JSON object representing the saved model's details as returned by the Dataiku DSS API. This typically includes metadata about the saved model such as its configuration, versions, status, and other relevant attributes.

If the operation involves downloading documentation or scoring files (not in this specific operation), the node can output binary data representing those files. However, for the "Get Saved Model" operation, the output is purely JSON.

Example output structure (simplified):

{
  "id": "savedModelId",
  "name": "Model Name",
  "description": "Description of the saved model",
  "versions": [
    {
      "versionId": "v1",
      "status": "active",
      "createdAt": "2023-01-01T00:00:00Z"
    }
  ],
  "metadata": { ... }
}

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 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 the "Project Key" property; if omitted, the node will throw an error.
  • Save Model ID Required: The operation requires the "Save Model ID" property; if omitted, the node will throw an error.
  • API Request Failures: Network issues, incorrect server URL, or invalid API keys can cause request failures. Verify connectivity and credentials.
  • Unexpected Response Format: If the API response cannot be parsed as JSON, check if the API endpoint or parameters are correct.

Links and References


This summary focuses on the "Machine Learning - Saved Model" resource and the "Get Saved Model" operation as requested.

Discussion