Headless execution of workflow from streamlit app via API
Hi all, I’ve created some workflows that I eventually want to trigger at the start of a project from a UI that is currently being developed in streamlit. I will be selecting a set of parameters, which will subsequently generate a json payload that will control several branches of the workflow. Essentially, I need the workflow to run headless where end users won’t see knime at any point. I envisage invoking the workflow via the REST API.
I’ve deployed a very simple workflow on the business hub that I can start using http://api.hub.knime.xxxxxxx.com/deployments/rest:1212-32-5234… and which emails me once complete, which is a good start. However, I’m struggling with the intricacies of both potential authentication issues and the actual api call and subsequent parsing of the payload within knime.
There’s a lot of information on this topic from over the past 6 or 7 years and I’m struggling to work out what is still relevant in 2026. Does anyone have links to a recent worked example or recent documentation covering instructions to set this up.
Thanks in advance!
Ian