List Metrics for Site - Retired in API 3.22

GET {{base-path}}/sites/{{site-id}}/metrics

https://help.tableau.com/current/api/restapi/en-us/REST/restapirefmetrics.htm#listmetricsfor_site

Request Params

KeyDatatypeRequiredDescription
filternull(Optional) An expression that lets you specify a subset of metrics to return. You can filter on predefined fields such as metric name, or attributes of the associated owner or project. You can include multiple filter expressions. For more information, see Filtering and Sorting.
sortnull(Optional) An expression that lets you specify the order in which metric information is returned. If you do not specify a sort expression, the sort order of the information that's returned is undefined. For more information, see Filtering and Sorting.
pageSizenull(Optional) The number of items to return in one response. The minimum is 1. The maximum is 1000. The default is 100. For more information, see Paginating Results.
pageNumbernull(Optional) The offset for paging. The default is 1. For more information, see Paginating Results.
fieldsnull(Optional) An expression that lets you specify the set of available fields to return. You can qualify the return values based upon predefined keywords such as all or default, and you can specify individual fields for the metrics or other supported resources. You can include multiple field expressions in a request. For more information, see Using Fields in the REST API.