[[reference-nodes-get_repositories_metering_info]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] [[client.nodes.getRepositoriesMeteringInfo]] === client.nodes.getRepositoriesMeteringInfo You can use the cluster repositories metering API to retrieve repositories metering information in a cluster. This API exposes monotonically non-decreasing counters and it’s expected that clients would durably store the information needed to compute aggregations over a period of time. Additionally, the information exposed by this API is volatile, meaning that it won’t be present after node restarts. {ref}/get-repositories-metering-api.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (NodesGetRepositoriesMeteringInfoRequest, options?): Promise ---- [discrete] ==== NodesGetRepositoriesMeteringInfoRequest [pass] ++++
++++
interface NodesGetRepositoriesMeteringInfoRequest extends <> {
  node_id: <>
}

[pass]
++++
++++ [discrete] ==== NodesGetRepositoriesMeteringInfoResponse [pass] ++++
++++
type NodesGetRepositoriesMeteringInfoResponse = NodesGetRepositoriesMeteringInfoResponseBase

[pass]
++++
++++