/metadata-api-samples

This repo holds samples using the Tableau Metadata API with Tableau Server or Tableau Online.

About metadata-api-samples

Samples of the Tableau Metadata API can be found in the samples directory.

└── samples
    ├── custom-sql-examples.graphql
    ├── get-downstream-flows-from-certified-databases.graphql
    ├── get-embedded-datasources.graphql
    ├── get-embedded-extracts-in-workbooks.graphql
    ├── get-field-descriptions.graphql
    ├── get-path-for-file-based-extract.graphql
    ├── metadata-api-with-python-and-TSC.py
    ├── quickstart-dashboards.graphql
    ├── quickstart-fields.graphql
    ├── quickstart-published-datasources.graphql
    ├── quickstart-sheets.graphql
    ├── quickstart-tables.graphql
    ├── quickstart-workbooks.graphql
    └── template.graphql

Getting Started

Go to the Tableau Metadata API Help to learn more about minimum requirements and the Metadata API schema. To quickly start testing queries against your Tableau Online site or Tableau Server, you can use GraphiQL. Follow the steps described in Explore the Metadata API schema using GraphiQL to get started.

For a tutorial on the Metadata API, go to the Understand your Tableau Assets with the Metadata API from Tableau Conference 2019 and click the link under Recording and Materials to download a slide deck and related materials. You can also check out a related Metadata API Deep Dive video also from Tableau Conference 2019.