Advanced Designer Learning Path is now live! Read More

Calling Dataiku Api from Web App

Level 2
Calling Dataiku Api from Web App


I have created an API in Dataiku, with the endpoint being a Python Function.

I am able to call the API, from Python, using Dataiku's python 'dataikuapi' package. My calls look like this:

import dataikuapi
apiNode = dataikuapi.APINodeClient(host, serviceID, apiKey)
result = apiNode.run_function(endpoint_id, param1 = "abc",
        param2 = "def",

resultData = result['response']


This works  wonderfully. However, now, I would like to implement the API on a Website. I would like to perform a call to the API from the website and then display the results.

I am using Google's App Scripts, which has a fetch method to perform http/https get requests (Google's documentation ).

Any ideas!?


2 Replies

Hi Andres,

The second way of using Dataiku public API apart from python client is plain HTTP requests.

In your case you could call fetch method provided by Google App with the parameters described here:


More info about API Node API could be also found here:



Andrey Avtomonov
R&D Engineer @ Dataiku
Level 2

Thanks! It worked like a charm.

A banner prompting to get Dataiku DSS