-
API Node: Creating a Python endpoint that executes arbitrary SQL passed in the request
Hi everyone, I’m working with Dataiku API Node (Python endpoint) and I’m exploring an API pattern where the endpoint can execute a SQL query that is passed dynamically in the API call. Use case The goal is to: Create a Python API endpoint Accept a SQL query as part of the request payload, for example: { "query": "SELECT…
-
Data Quality Plugin: multi-select dropdown of column names
Hi, I have some custom Data Quality checks added to Dataiku as part of a plugin. I want to have an input variable as a multi-select dropdown list of the columns in the schema. If I use "type": "DATASET_COLUMN", I get a dropdown list but no multi-select. If I use "type": "DATASET_COLUMNS", I get the ability to add mutliple…
-
How to check the last run time of a recipe with python api?
import re import dataiku import urllib3 import datetime urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) def get_project(client, project_key): return client.get_project(project_key) def get_datasets(client, project_key): project = get_project(client, project_key) return project.list_datasets() def…
-
Call Agent Hub or LLM Mesh
hello, how can i call agent hub/LLM mesh from outside Dataiku through POST-Man app or python code. Is there any way as API designer service in order to call it. I've read about Rest API but don't understand how to configure it over agent hub and how it's going to be accessible for the external systems Thanks, Dataiku…
-
How to retrieve the Evaluated Model name from a Model Evaluation Store via the Python API
I'm trying to pull the name of the evaluated model for a model evaluation store - e.g. the field "Evaluated model" under the category "Model" from this type of URL: https://dataikuprod.corp.{company}.org/projects/{projectkey}/modelevaluationstores/{meskey}/evaluations/{specificmekey}/report/tabular-summary I've been trying…
-
I can't dynamically select a notebook in a DSS macro + Using Python API to access notebooks fails
I’m trying to create a project macro in DSS 14.2.2 that allows a user to select a notebook from a dropdown and then perform actions on it (e.g., add a code block). Problems encountered: The dropdown appears in the macro UI, but it never shows any options. (I want all projects' notebooks). Attempting to use the Python API…
-
SQL API Endpoint Error: "No value specified for parameter 1" despite providing test parameters
I am encountering a 500 Internal Server Error when testing a SQL Query endpoint in the API Designer. Even though I have defined the placeholder and provided the test JSON, the system fails to bind the value. Environment Feature: API Designer / SQL Query Endpoint Dataiku Version: 14.2 Backend DB: PostgreSQL Here is a…
-
Python script to visual recipes conversion
I have an existing Python script that needs to be converted into Dataiku visual recipes. Is there any supported or automated way in Dataiku to generate visual recipes from Python code, or does this need to be done manually?
-
APIによるDeployerの情報取得について
Deployerに蓄積している削除可能なBundleをPythonAPIを用いてリストアップすることを検討しています。 Designノードから以下のPythonコードを実行しましたが、Deployerの全プロジェクトリストを取得するところで、 DeployerのUI上からはプロジェクトが参照できるにもかかわらず、0件で返却されました。 import dataiku client = dataiku.api_client() deployer = client.get_projectdeployer() projects = deployer.list_projects(as_objects=False) ノードを跨ぐ際には、DSS…
-
How to share objects using the Dataiku API
Hi, It appears that the settings.add_exposed_object() method is undocumented. So documenting here few examples for the benefit of others: import dataiku client = dataiku.api_client() project = client.get_project(source_project_key) settings = project.get_settings() # Share Managed Folder…