Search + K

Command Palette

Search for a command to run...

Sign In

Get cluster repositories metering

GET /_nodes/{node_id}/_repositories_metering
Copy endpoint

Get repositories metering information for a cluster. This API exposes monotonically non-decreasing counters and it is 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 will not be present after node restarts.

Required authorization

  • Cluster privileges: monitor,manage

Parameters

path Path Parameters

Name Type
node_id required

Comma-separated list of node IDs or names used to limit returned information.

type TypesNodeIds = type TypesNodeId = string | type TypesNodeId = string[]

Responses

200 application/json
type NodesGetRepositoriesMeteringInfoResponseBase = interface NodesTypesNodesResponseBase {
_nodes?: TypesNodeStatistics

Contains statistics about the number of nodes selected by the request.

interface TypesNodeStatistics {
failures?: TypesErrorCause[];
total: number;
successful: number;
failed: number;
}
;
}
& { cluster_name: TypesName
type TypesName = string
;nodes: { }; }