Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Gallery API parameter - Get workflow jobs

francis_oy
8 - Asteroid
Hi All, When I am looking into the Alteryx gallery API and trying to get all the job statuses using below endpoint and parameter. https://[SERVER]:[PORT]/gallery/api/v1/workflows/[APPID]/jobs/?sortField=createdate&direction=desc&limit=1&oauth_timestamp=1621832660&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=[consumer_key]&oauth_version=1.0&oauth_nonce=Y5wsf&oauth_signature=[SIGNATURE] I found the parameter 'limit' is not working. the call still returns all the jobs. I am using Alteryx 2020.3 gallery. Appreciate any input. Thanks Francis
1 REPLY 1
junyak
Alteryx Alumni (Retired)

Please add offset=0 and call the API.

https://[SERVER]:[PORT]/gallery/api/v1/workflows/[APPID]/jobs/?offset=0&sortField=createdate&direction=desc&limit=1&oauth_timestamp=1621832660&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=[consumer_key]&oauth_version=1.0&oauth_nonce=Y5wsf&oauth_signature=[SIGNATURE]