nodes.info

edit
client.nodes.info({
  node_id: string | string[],
  metric: string | string[],
  flat_settings: boolean,
  timeout: string
})

Reference

node_id or nodeId

string | string[] - A comma-separated list of node IDs or names to limit the returned information; use _local to return information from the node you’re connecting to, leave empty to get information from all nodes

metric

string | string[] - A comma-separated list of metrics you wish returned. Leave empty to return all.

flat_settings or flatSettings

boolean - Return settings in flat format (default: false)

timeout

string - Explicit operation timeout