<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic API call for all job results (including errors) with Subscription access only in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/887467#M10093</link>
    <description>&lt;P&gt;My account only has API Access to a node via subscription and I am trying to get a full extract of job results, including errors. Is this only something that can be done with Admin API calls? or is there a way to get the results from the Private Studio?&amp;nbsp; Essentially I want this list (which I have access to via the gallery portal:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://awsbcjnva1168.jnj.com/gallery/#!jobs" target="_blank"&gt;http://awsbcjnva1168.jnj.com/gallery/#!jobs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 23:46:31 GMT</pubDate>
    <dc:creator>aehrenwo</dc:creator>
    <dc:date>2022-01-05T23:46:31Z</dc:date>
    <item>
      <title>API call for all job results (including errors) with Subscription access only</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/887467#M10093</link>
      <description>&lt;P&gt;My account only has API Access to a node via subscription and I am trying to get a full extract of job results, including errors. Is this only something that can be done with Admin API calls? or is there a way to get the results from the Private Studio?&amp;nbsp; Essentially I want this list (which I have access to via the gallery portal:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://awsbcjnva1168.jnj.com/gallery/#!jobs" target="_blank"&gt;http://awsbcjnva1168.jnj.com/gallery/#!jobs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 23:46:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/887467#M10093</guid>
      <dc:creator>aehrenwo</dc:creator>
      <dc:date>2022-01-05T23:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: API call for all job results (including errors) with Subscription access only</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/887503#M10094</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/8166"&gt;@aehrenwo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are considering jobs from&amp;nbsp; workflows that come from your studio, you could trigger the API in a sequence like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;SPAN class="http_method"&gt;&lt;A class="toggleOperation" href="http://40.117.42.248/gallery/api-docs/#!/workflows.json/GetStudioAppsGET" target="_blank"&gt;GET&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="path"&gt;&lt;A class="toggleOperation" href="http://40.117.42.248/gallery/api-docs/#!/workflows.json/GetStudioAppsGET" target="_blank"&gt;/v1/workflows/subscription/&lt;/A&gt;&amp;nbsp;- get the workflow Ids&lt;/SPAN&gt;&lt;/H3&gt;
&lt;H3&gt;&lt;SPAN class="http_method"&gt;&lt;A class="toggleOperation" href="http://40.117.42.248/gallery/api-docs/#!/workflows.json/GetJobsForAppGET" target="_blank"&gt;GET&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="path"&gt;&lt;A class="toggleOperation" href="http://40.117.42.248/gallery/api-docs/#!/workflows.json/GetJobsForAppGET" target="_blank"&gt;/v1/workflows/{appId}/jobs/&lt;/A&gt;&amp;nbsp;- get the job ids for each workflow from your studio&lt;/SPAN&gt;&lt;/H3&gt;
&lt;H3&gt;&lt;SPAN class="http_method"&gt;&lt;A class="toggleOperation" href="http://40.117.42.248/gallery/api-docs/#!/workflows.json/GetJobGET" target="_blank"&gt;GET&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="path"&gt;&lt;A class="toggleOperation" href="http://40.117.42.248/gallery/api-docs/#!/workflows.json/GetJobGET" target="_blank"&gt;/v1/jobs/{jobId}/&lt;/A&gt;&amp;nbsp;- get the job status and other information from each job&lt;/SPAN&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="path"&gt;If you are considering jobs from workflows that have been shared with you through a collection, or through the public area of the gallery, then I think the only way to do that is by using the Admin API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="path"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 02:36:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/887503#M10094</guid>
      <dc:creator>Thableaus</dc:creator>
      <dc:date>2022-01-06T02:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: API call for all job results (including errors) with Subscription access only</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/888123#M10100</link>
      <description>&lt;P&gt;I am able to run the first GET to return the list of workflows and get the workflow IDs. However, if plug ANY of those workflow ids in the appId area and run the next API call it always comes back with an empty result even though I know they have been executed based on the run count.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Response Body&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 01:44:19 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/888123#M10100</guid>
      <dc:creator>aehrenwo</dc:creator>
      <dc:date>2022-01-07T01:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: API call for all job results (including errors) with Subscription access only</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/888305#M10102</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/8166"&gt;@aehrenwo&lt;/a&gt;&amp;nbsp;Great question! The gallery only keeps the job info for a set number of days. Our sever is set to 10 days, and I don't recall if that's the default or not. Within 10 days of the run, the jobs endpoint will return that jobID. After the 10th day, it will no longer return the jobID. The run count is cumulative and not affected by the 10 day thing. So I'm guessing that all of that jobs runs were more than 10 days ago.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The only other thing I could think of is if somebody else is running your app, I'm not sure if you as the app owner would be able to see the results.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 13:51:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/888305#M10102</guid>
      <dc:creator>patrick_digan</dc:creator>
      <dc:date>2022-01-07T13:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: API call for all job results (including errors) with Subscription access only</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/964885#M11192</link>
      <description>&lt;P&gt;It seems to me as though as&amp;nbsp;&lt;FONT color="#0000FF"&gt;GET /v1/workflows/{appId}/jobs/&amp;nbsp;&lt;FONT color="#000000"&gt;is only applicable to Analytics Apps, and not Workflows. I don't see how I can get the jobs for a workflow, as there doesn't seem to be anything in the API that can be used.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;If you have managed to get the jobs for a workflow, do share it! I would be very grateful :D&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 15:19:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/API-call-for-all-job-results-including-errors-with-Subscription/m-p/964885#M11192</guid>
      <dc:creator>ishavartak</dc:creator>
      <dc:date>2022-07-07T15:19:26Z</dc:date>
    </item>
  </channel>
</rss>

