Skip to main content

Get Datasource Underlying Data

Available November 2026 and later.

Read raw row-level data for one of a datasource's logical tables (see list-datasource-logical-tables), independent of any worksheet.

APIs called​

Talks to the open Tableau Studio workbook through the External Client API.

  • Read raw row-level data for one of a datasource's logical tables (see list-datasource-logical-tables), independent of any worksheet.

Required arguments​

datasourceName​

Datasource name/id.datasource

note

A name or id that matches more than one datasource is refused because that datasource matched multiple datasources. Specify one id: each match is its caption, or its name when it has no caption, and its inventory id. A value that matches nothing is refused because that datasource was not found. Available datasources: the same caption-or-name and inventory id list.

  • Datasource "${}" matched multiple datasources. Specify one id: ${}
  • Datasource "${}" was not found. Available datasources: ${}

logicalTable​

A logical table caption or id from the datasource's logical tables.

Optional arguments​

session​

Session ID; optional if pinned or unique.

maxRows​

Default 200; max 1000.

columns​

Source column names to restrict the columns (e.g. "Region").