Get feature usage information
Added in 6.0.0
Path parameters
-
metric
string | array[string] Required Limits the information returned to the specific metrics. A comma-separated list of the following options:
_all
,rest_actions
.
Query parameters
-
timeout
string Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
GET
/_nodes/usage/{metric}
curl \
--request GET 'http://api.example.com/_nodes/usage/{metric}' \
--header "Authorization: $API_KEY"