Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to interact programmatically with various Dataiku DSS resources and operations. Specifically for the Scenario resource with the Get Last Runs operation, it retrieves the most recent execution runs of a specified scenario within a project.

This functionality is useful for monitoring scenario executions, auditing recent activity, or triggering downstream processes based on scenario run results. For example, a user might want to fetch the last few runs of a scenario to check their status or extract logs for troubleshooting.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project containing the scenario.
Scenario ID The unique identifier of the scenario whose last runs are to be retrieved.
Query Parameters Optional additional parameters to filter or paginate the results. Includes options like:
- Active (boolean)
- Limit (number): Max number of results to return
- Page (number): Pagination page
- Other filters such as tags, time ranges, etc.

Output

The node outputs JSON data representing the last runs of the specified scenario. The structure typically includes an array of run objects, each containing details such as run ID, status, timestamps, and possibly other metadata about each scenario execution.

If the response contains binary data (not typical for this operation), it would be provided in the binary output field, but for "Get Last Runs" this is not expected.

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 API credentials are not set or invalid, the node will throw an error indicating missing credentials.
  • Required Parameter Missing: Errors will occur if mandatory parameters like Project Key or Scenario ID are not provided.
  • API Request Failures: Network issues, incorrect URLs, or insufficient permissions can cause API call failures. Check the Dataiku DSS server accessibility and user permissions.
  • Parsing Errors: If the API returns unexpected data formats, the node may fail to parse the response. Verify the API version compatibility.

Links and References


Note: This summary is based on static analysis of the node's source code and input property definitions without executing the code.

Discussion