Get usage statistics for content item (Cloud-only)
GET {{baseUrl}}/api/-/content/usage-stats/:type/:luid
Gets the usage statistics for a Tableau content item, specified by LUID and content type, such as workbook, datasource, or flow.
Version: Available in API 3.17 ( Tableau Cloud December 2022) and later. Not available for Tableau Server. Versioning Overview
Permissions: Tableau administrators can get statistics for all content they administer. Other users can get statistics for any content they own or have at least Read permissions for. Permissions Overview
License: No additional license required.
Access Scope: Not available.
Access Scopes Overview: Cloud | Server-Windows | Server-Linux
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Tableau-Auth | string | The Tableau authentication header. The value is a credentials token from a Tableau server's response to an authentication request. | |
The Content-Type and Accept headers should be the mediatype of the request and response except in cases where you want to explicitly allow other versions of the resource. | |||
Accept | string |
RESPONSES
status: OK
{"hitsTotal":"\u003clong\u003e","hitsLastTwoWeeksTotal":"\u003clong\u003e","hitsLastOneMonthTotal":"\u003clong\u003e","hitsLastThreeMonthsTotal":"\u003clong\u003e","hitsLastTwelveMonthsTotal":"\u003clong\u003e"}