Tableau icon

Tableau

Interact with the Tableau REST API

VizQL Data Service → Get Datasource Model

AI-generated

Summary

Retrieve the model for a Tableau datasource by its LUID, optionally bypassing the metadata cache and supplying credentials for live datasource connections. The model data can help identify fields and other datasource structure for later VizQL Data Service queries.

Inputs

  • Authentication — Choose Connected App (JWT) or Personal Access Token; Connected App (JWT) is the default.
  • Impersonate User — With Connected App authentication, optionally specify a Tableau username to authenticate as. Leave empty to use the credential’s default username; site administrator privileges are required.
  • Datasource ID (required) — LUID of the datasource whose model to retrieve.
  • Bypass Metadata Cache — When enabled, request fresh model data instead of using the metadata cache. Defaults to false.
  • Connections — Optionally provide connection IDs and database usernames and passwords for live datasources with multiple connections. A connection ID is required when the datasource has multiple connections; omit this for most extract-based datasources.

Output shape

A model-data response for the requested datasource.

The provided source pack shows the operation and transport module signatures but omits their implementation bodies, so the exact response fields and item wrapping are not established.

Links

Discussion