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 (
) and I don't see any way to call a table within a datasource with it.
#Tableau APIs & Embedding
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:
In regards to your second question, you can get the connection username using this REST API endpint: