Skip to main content
Orion Mussard a posé une question dans #Tableau APIs & Embedding

Hello, I'm trying to look for a way to query Tableau  API (most likely REST) to create a table containing, for each datasource, all the tables used and the way they are linked to each other (join, relationship). 

I also would like the username/account used to set up the connection to the database.  

 

It's not in GraphQL directly, sadly. And the closest thing I found related to this use case is 4y old and recommends to download each dashboard in .hyper and parse it to find the info.  (

How to get relationship info | Salesforce Trailblazer Community

)  

 

My manager is convinced he saw a Product news or an article mentioning that an endpoint was available somewhere somehow to do this, though.  

 

Does anyone ever had this kind of use case ? How did you solve this ? Does the endpoint thing ring any bell ? 

 

I tried using Tableau Client Server but datasources do not have a .tables (

API reference

) and I don't see any way to call a table within a datasource with it.  

 

 

 

#Tableau APIs & Embedding

2 réponses
  1. 10 janv., 00:01

    Hi @Orion Mussard

    I didn't test this specific endpoint yet but I think you are referring to the new VizData Service API (VDS) available since Tableau Server v.2025.1. 

    There is a get data source model endpoint: 

    https://help.tableau.com/current/api/vizql-data-service/en-us/reference/index.html#tag/HeadlessBI/operation/GetDatasourceModel

    In regards to your second question, you can get the connection username using this REST API endpint: 

    https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_data_sources.htm#query_data_source_connections

0/9000