Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Tableau Desktop Data Sources API

Manage and refresh published data sources.

Tableau Desktop Data Sources API is one of 12 APIs that Tableau Desktop publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Data Sources. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 3 operations across 3 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 3.22.

Requests are made against a single base URL, https://{tableau-server}/api/3.22.

3 operations 3 paths 1 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.22
Base URL
https://tableau-server/api/3.22
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Tableau Desktop Data Sources API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-Tableau-Auth (tableauAuth). By default, every request must be authenticated.

  • tableauAuth — Authentication token returned by the Sign In endpoint.

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Data Sources 3

Manage and refresh published data sources.

GET
/sites/{siteId}/datasources
Query Data Sources
queryDataSources 1 param → 200
GET
/sites/{siteId}/datasources/{datasourceId}
Query Data Source
queryDataSource 2 params → 200
POST
/sites/{siteId}/datasources/{datasourceId}/refresh
Refresh Data Source
refreshDataSource 2 params → 202

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. Each schema is shown below with its type and property counts.

Response
object
Generic Tableau REST API response envelope (tsResponse).

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tableau-desktop-data-sources-api-openapi.yml Raw ↑

Other APIs Tableau Desktop publishes across the network.

Tableau Extensions API
Tableau Hyper API
Tableau Embedding API
Tableau Metadata API
Tableau Server Client (Python)
Tableau Desktop Authentication API
Tableau Desktop Projects API
Tableau Desktop Server API
Tableau Desktop Sites API
Tableau Desktop Users API
Tableau Desktop Workbooks API