Download OpenAPI specification:Download
An API to access Tableau published data sources
required | object (Connection) |
object (QueryOptions) Some optional metadata that can be used to adjust the behavior of an endpoint |
{- "connection": {
- "tableauServerName": "string",
- "siteId": "string",
- "datasource": "string",
- "databaseUsername": "string",
- "databasePassword": "string"
}, - "options": {
- "returnFormat": "OBJECTS",
- "debug": false
}
}
{- "data": [
- {
- "columnName": "string",
- "caption": "string",
- "dataType": "UNSPECIFIED",
- "columnContainsNulls": true,
- "objectGraphId": "string"
}
]
}
required | object (Connection) |
required | object (Query) The Query is the fundamental interface to Headless BI. It holds the specific semantics to perform against the Data Source. A Query consists of an array of Columns to query against, an optional array of filters to apply to the query, and an optional Metadata field to modify the query behavior. |
object (QueryDatasourceOptions) Some optional metadata that can be used to adjust the behavior of a datasource query. |
{- "connection": {
- "tableauServerName": "string",
- "siteId": "string",
- "datasource": "string",
- "databaseUsername": "string",
- "databasePassword": "string"
}, - "query": {
- "columns": [
- {
- "columnName": "string",
- "columnAlias": "string",
- "maxDecimalPlaces": 0,
- "sortDirection": "ASC",
- "sortPriority": 0,
- "function": "SUM",
- "calculation": "string"
}
], - "filters": [
- {
- "columnName": "string",
- "column": {
- "columnName": "string",
- "function": "SUM",
- "calculation": "string"
}, - "filterType": "QUANTITATIVE",
- "context": false
}
]
}, - "options": {
- "disaggregate": false,
- "returnFormat": "OBJECTS",
- "debug": false
}
}
{- "data": [
- null
]
}