<?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 Re: How to get the list of all jobs available for a particular user? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-list-of-all-jobs-available-for-a-particular-user/m-p/17507#M11524</link>
    <description>&lt;P&gt;Hello @Saurabh Verma​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can the user generate the API token in the workspace and try to use the API?&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 11:22:45 GMT</pubDate>
    <dc:creator>User16764241763</dc:creator>
    <dc:date>2022-06-17T11:22:45Z</dc:date>
    <item>
      <title>How to get the list of all jobs available for a particular user?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-list-of-all-jobs-available-for-a-particular-user/m-p/17506#M11523</link>
      <description>&lt;P&gt;As of now, if I try to list the jobs via "list job" API then there is a limit of 25 jobs only.&lt;/P&gt;&lt;P&gt;Is there a way to list all the available/visible jobs to a user?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 15:16:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-list-of-all-jobs-available-for-a-particular-user/m-p/17506#M11523</guid>
      <dc:creator>Maverick1</dc:creator>
      <dc:date>2022-06-16T15:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the list of all jobs available for a particular user?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-list-of-all-jobs-available-for-a-particular-user/m-p/17507#M11524</link>
      <description>&lt;P&gt;Hello @Saurabh Verma​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can the user generate the API token in the workspace and try to use the API?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 11:22:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-list-of-all-jobs-available-for-a-particular-user/m-p/17507#M11524</guid>
      <dc:creator>User16764241763</dc:creator>
      <dc:date>2022-06-17T11:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the list of all jobs available for a particular user?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-the-list-of-all-jobs-available-for-a-particular-user/m-p/17509#M11526</link>
      <description>&lt;P&gt;@Kaniz Fatma​&amp;nbsp; @Arvind Ravish​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;Yes the user can generate the API token but the limit is on the "get jobs" API level in version 2.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One workaround that I found is to create a while loop function and pass the offset param variable to "list job" API with value as 25. &lt;/P&gt;&lt;P&gt;Then reiterate and check the json response at every iteration. If the response have a key value pair as &lt;B&gt;{"has_more: False"}&lt;/B&gt; then break the loop. Also, at every iteration, keep on appending the job_name or job_id or any other relevant info. from json response in a list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally you will be having a list of all jobs that is visible to the current user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you can use "list job" API version 2.0. This version doesn't have the limit of 25 but it won't return the multi-tasks inside the job and has a hard limit of max 2000 jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 16:40:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-the-list-of-all-jobs-available-for-a-particular-user/m-p/17509#M11526</guid>
      <dc:creator>Maverick1</dc:creator>
      <dc:date>2022-06-23T16:40:48Z</dc:date>
    </item>
  </channel>
</rss>

