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 such as scenarios, projects, datasets, models, dashboards, and more. Specifically for the Scenario resource with the Create Scenario operation, it enables creating new scenarios within a specified project in Dataiku DSS.

Common use cases include automating scenario creation as part of data workflows, managing scenarios programmatically, or integrating scenario management into larger automation pipelines. For example, a user might create a scenario that triggers a sequence of data processing steps or machine learning model training runs.

Properties

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

The Request Body property expects a JSON structure defining the scenario's attributes according to Dataiku DSS API requirements (e.g., name, description, steps).

Output

The node outputs the response from the Dataiku DSS API after attempting to create the scenario. The output is a JSON object representing the newly created scenario or an error message if the creation failed.

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

Dependencies

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

Troubleshooting

  • Missing Credentials Error: If the API credentials are not set or invalid, the node will throw an error indicating missing credentials. Ensure you have configured the API key credential properly.
  • Required Parameter Errors: The node validates required parameters like Project Key and scenario-specific identifiers. Missing these will cause errors. Make sure all required fields are filled.
  • API Endpoint Errors: If the Dataiku DSS server URL is incorrect or unreachable, the node will fail to connect. Verify network connectivity and server address.
  • Invalid JSON in Request Body: The Request Body must be valid JSON. Malformed JSON will cause request failures.
  • Permission Issues: The API key used must have sufficient permissions to create scenarios in the specified project.

Links and References


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

Discussion