Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node interacts with the Dataiku DSS API to manage and retrieve information about continuous activities within a specified project. Specifically, the "Get Continuous Activities Status" operation fetches the current status of a continuous activity identified by a recipe ID in a given project.

Use cases include monitoring the state of ongoing continuous activities in Dataiku DSS projects, such as checking if a continuous data processing or model training task is running, stopped, or in another state. This can be useful for automation workflows that depend on the status of these activities to trigger subsequent steps or alerts.

Example:

  • You want to check whether a continuous activity (e.g., a streaming data ingestion process) is currently active before starting a dependent job. Using this node, you provide the project key and recipe ID to get the current status of that activity.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku DSS project where the continuous activity exists.
Recipe ID The identifier of the continuous activity (recipe) whose status you want to retrieve.

Output

The output is a JSON object representing the status details of the specified continuous activity. It typically includes fields describing the desired state and possibly other metadata about the activity's current execution status.

If the request fails or no content is returned, the node outputs an object indicating "204 No Content".

Dependencies

  • Requires an API key credential for authenticating with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.
  • The node makes HTTP requests to the Dataiku DSS REST API endpoints.

Troubleshooting

  • Missing Credentials: If the API key credential is not provided, the node will throw an error indicating missing credentials.
  • Required Parameters Missing: The node validates required parameters like Project Key and Recipe ID. Omitting these will cause errors specifying which parameter is missing.
  • API Errors: If the Dataiku DSS API returns an error, the node throws an error with the message from the API response.
  • Invalid JSON Response: If the API returns a non-JSON string, the node attempts to return it as plain text; otherwise, it parses JSON normally.
  • Network Issues: Ensure the Dataiku DSS server URL is reachable from the n8n environment.

Links and References


This summary focuses on the "Continuous Activity" resource and the "Get Continuous Activities Status" operation as requested.

Discussion