There are two primary ways you can use the Tableau Metadata API:
Tableau Cloud and Tableau Server have different requirements for accessing the Metadata API. Tableau Cloud requires Data Management to access the Metadata API, but Tableau Server does not. This requirement started with Tableau Cloud October 2026. If you were using the Metadata API without Data Management at that time, you can continue doing so until June 2027.
The Metadata API requires that you send an authentication token with each query sent. The token lets Tableau Cloud or Tableau Server verify your identity and makes sure that you’re signed in. To get a token, you can call the Sign In method, in one of three ways, using the Tableau REST API versions 3.6 or later.
Refer to Make a Sign In Request with a Personal Access Token [↗] in the Tableau REST API Help for more information.
Starting in Tableau Cloud October 2023 / Server 2023.3, the Metadata API respects credentials tokens that were obtained via a JSON web token (JWT) and Tableau connected apps.
Set scope (scp) in the JWT to “tableau:content:read”. The permissions of the user in the JWT determine query results.
Refer to Make a Sign In Request with a JWT [↗] in the Tableau REST API Help for more information on using a JWT to create a credentials token that you can use with the Metadata API.
Refer to Make a Sign In Request with Username and Password [↗] in the Tableau REST API Help for more information.
For more information about token expiration, changing the token timeout value, and more, see Using the Authentication Token In Subsequent Calls [↗] topic in the Tableau REST API Help.