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 Discussion resource and the Create Discussion operation, the node allows creating a new discussion thread linked to a specific object within a project in Dataiku DSS.

Typical use cases include:

  • Automating the creation of discussions related to datasets, projects, or other objects in Dataiku DSS as part of data workflows.
  • Facilitating collaboration by programmatically starting discussion threads when certain events occur.
  • Integrating Dataiku DSS discussions into broader automation pipelines.

For example, you might create a discussion attached to a dataset after a data quality check fails, prompting team members to investigate.

Properties

Name Meaning
Project Key The key identifier of the Dataiku DSS project where the discussion will be created.
Object Type The type of the object (e.g., dataset, recipe) to which the discussion is attached.
Object ID The unique identifier of the object to which the discussion relates.
Request Body A JSON object containing the details of the discussion to create (e.g., title, content).

Output

The node outputs the response from the Dataiku DSS API after creating the discussion. The output is a JSON object representing the newly created discussion, including its metadata such as discussion ID, timestamps, author information, and content.

If the API returns binary data (not typical for this operation), it would be provided as binary output, but for creating discussions, the output is JSON.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs an API authentication token credential for Dataiku DSS with sufficient permissions to create discussions in the specified project.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the API key or server URL is not set, the node throws an error indicating missing credentials. Ensure that the Dataiku DSS API credentials are properly configured.
  • Required Parameter Errors: The node validates required parameters like Project Key, Object Type, and Object ID. Missing any of these will cause an error. Double-check that all required fields are filled.
  • API Errors: If the Dataiku DSS API returns an error (e.g., permission denied, invalid project key), the node surfaces the error message. Verify the correctness of input parameters and user permissions.
  • JSON Parsing Errors: If the API response is malformed or unexpected, JSON parsing may fail. This is rare but can happen if the API changes or network issues occur.

Links and References


This summary focuses on the "Discussion" resource and the "Create Discussion" operation as requested, based on static analysis of the provided source code and property definitions.

Discussion