1 Reply Latest reply on Oct 11, 2018 4:58 PM by Patrick Van Der Hyde

    Tableau Server REST API - Get Jobs for a Specific Data Source

    Eric Schranz



      I've been playing around with the Tableau Server REST API version 2.8. Among the things I've been able to do, I can publish data sources, start refresh extract jobs, and see the status of the job I started. However, I am not able to determine if a data source already has a running refresh extract. In order to prevent a duplicate refresh, I would need to know the Job ID(s) of any currently running extract jobs before deciding to start a new job.


      I know that starting with the version 3.1 (2018.2 Server) of the API, there is a Query Jobs function (https://onlinehelp.tableau.com/v2018.2/api/rest_api/en-us/help.htm#REST/rest_api_ref.htm#Query_Jobs). However, my company is still using Tableau Server 10.5, so I am stuck using API 2.8.


      Is there a way, perhaps through multiple GET requests, to know if a certain data source has any running refresh extract jobs?




      NOTE: Assume I do not have access to the underlying Tableau Server SQL tables


      Tableau Server 10.5

      Tableau Server REST API 2.8

      Python 2.7.10

      macOS High Sierra 10.13.3