Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on January 10, 2022 9:13AM
Likes: 1
Replies: 2
Hi, I'd like to call the Run Scenario API within a Dataiku Web App, preferably using JS only.
What's the simplest way to do this?
Operating system used: MacOS
Hi,
The preferred way to run public API calls from a web app is to go through its Python backend and leverage the Python client (see the doc for specifically running Scenarios).
It is not impossible to call the public API directly in your JS code, however it will require substantial overhead especially regarding authentication. This overhead is bypassed by resorting to the Python backend, which:
Hope this helps!
Best,
Harizo
Thanks, resolved this by using a dashboard with the run scenario and monitor runs components.
Simple and effective! Louis pointed me towards this in an office hour.