Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to perform a wide range of operations on various Dataiku DSS resources. Specifically for the Library resource and the List Files operation, it lists the contents (files and folders) within a project's library.

Common scenarios where this node is beneficial include:

  • Automating retrieval of library files in a Dataiku project.
  • Integrating Dataiku DSS library content listing into workflows for auditing or synchronization.
  • Building custom dashboards or reports that require knowledge of available library files.

Example use case:

  • A user wants to list all files in the library of a specific Dataiku project to verify which scripts or resources are available before triggering further processing steps.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project whose library files you want to list.

Output

The output contains a JSON array where each item represents a file or folder in the specified project's library. The exact structure depends on the Dataiku DSS API response for listing library contents but typically includes metadata such as file/folder names, paths, types, sizes, and timestamps.

If the operation involves downloading files (not applicable for List Files), binary data would be returned representing the file content.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key token) 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 "Missing Dataiku DSS API Credentials," ensure that the API key credential is properly set up in n8n.
  • Project Key Required: For the List Files operation under Library, the "Project Key" property must be provided; otherwise, the node will throw an error.
  • API Request Failures: Network issues, incorrect server URLs, or invalid API keys can cause request failures. Verify connectivity and credentials.
  • Unexpected Response Format: If the API response changes or is malformed, the node might fail to parse JSON. Check the Dataiku DSS API version compatibility.

Links and References


This summary focuses on the Library resource and the List Files operation as requested, based on static analysis of the provided source code and input properties.

Discussion