This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
But I want to freshly execute the workflow externally using an API, Like we click the run button and the workflow gets executed inside Alteryx Gallery, same way it has to be executed from website using an API. What is the API to Run Alteryx workflow?
This is the API. This API is giving me the Job Id's which are already executed. There are no new workflows getting executing with this API.
I have tried using User V2 API <mywebsite.com>/gallery/api/user/v2/workflows/<appid>/jobs/?oauth_consumer_key=<consumer_key>&oauth_signature_method=HMAC-SHA1&oauth_nonce=979286045&oauth_timestamp=1641709486&oauth_version=1.0&oauth_signature=<oauth_signature>
It is still returning the jobs of already executed workflows. And in the link you mentioned I didn't understand what the solution is to my question. Do I need to create any credentials?
@RajithaGanji Are you doing a POST or GET request? You'll want to POST, but the data you're receiving (old jobs) sounds more like a GET request. That v1 endpoint can accept both POST and GET requests and it returns different things.
The API was working. I was checking the Alteryx Gallery, later I came to know that the workflows which are run through API will not be shown in Alteryx Gallery UI, but I was getting the response in the API.
Thanks for your answer.