Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API to perform various operations on Dataiku resources. Specifically, for the Job resource and the List Latest Jobs operation, it retrieves a list of the most recent jobs within a specified project. This is useful for monitoring job executions, auditing recent activity, or triggering workflows based on job statuses.

Typical use cases include:

  • Fetching the latest job runs in a project to analyze their outcomes.
  • Automating notifications or alerts based on recent job completions.
  • Integrating job status data into dashboards or reports.

Properties

Name Meaning
Project Key The unique identifier of the Dataiku project from which to list the latest jobs.
Query Parameters Optional additional parameters to filter or paginate the results. Includes options like:
- Active (boolean)
- Activity (string)
- All Users (boolean)
- Limit (number): Max number of results to return (default 50)
- Page (number): Page number for pagination
- Filter (string), Tags (string), and many other optional filters as per the full list above

The "Query Parameters" collection allows fine-tuning the request by specifying filters such as active status, user scope, pagination limits, and more.

Output

The output is an array of JSON objects representing the latest jobs retrieved from the Dataiku DSS instance for the specified project.

  • Each item in the output corresponds to a job object returned by the Dataiku DSS API.
  • The exact structure of each job object depends on the Dataiku API response but typically includes job metadata such as job ID, status, start time, end time, and related details.
  • If the API returns binary data (not typical for this operation), it would be provided in the binary field, but for listing jobs, the output is JSON only.

Dependencies

  • Requires a valid connection to a Dataiku DSS instance.
  • Needs an API key credential for authentication with the Dataiku DSS API.
  • The node expects the base URL of the Dataiku DSS server and the user API key to be configured in the credentials.
  • No additional external dependencies are required beyond the standard n8n environment and the Dataiku DSS API access.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing API credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Project Key Required: The operation requires a valid project key; if omitted, the node will throw an error.
  • API Errors: Errors from the Dataiku API (e.g., unauthorized, not found) will be surfaced as node errors with messages indicating the issue.
  • Empty Results: If no jobs are returned, verify that the project key is correct and that there are recent jobs available.
  • Pagination Issues: Use the "Limit" and "Page" query parameters to control the number of results and navigate through pages if the result set is large.

Links and References


This summary focuses on the "Job" resource and the "List Latest Jobs" operation as requested, extracting relevant input properties, output format, and usage context from the provided source code and property definitions.

Discussion