In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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]