: Many developers use the Tableau Server Client (TSC), a Python library, to simplify these requests. 4. Permission Requirements
: GET /api/ /sites/ /datasources/ /content
to download the data source: tabcmd get "/datasources/ .tdsx" -f "C:\Path\To\Save\File.tdsx" Note: The path in the command must match the URL path of the data source on the server. 3. Programmatic Download via REST API how to download published data source from tableau server
: The server returns the data source in .tdsx format as an application/octet-stream .
Downloading a published data source from Tableau Server is a common task for developers who need to modify metadata, audit content, or use the data locally in Tableau Desktop. You can achieve this through the user interface, command-line tools, or programmatically via the REST API. 1. Manual Download via Tableau Server Web UI This is the most straightforward method for most users. to your Tableau Server . Navigate to the Explore section and select Data Sources . Locate the specific data source you want to download. Click the Actions (...) icon next to the data source name. Select Download from the menu. : Many developers use the Tableau Server Client
to your server: tabcmd login -s http:// -u -p
If you do not see the "Download" option, you may lack the necessary permissions. To download a data source, you generally need: Reference-Tableau Server REST API You can achieve this through the user interface,
Administrators often use the tabcmd utility to automate downloads.
as an administrator on a machine with tabcmd installed.
For integration into custom applications, use the Tableau REST API .