{
  "nodes.usage": {
    "documentation": {
      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/8.19/cluster-nodes-usage.html",
      "description": "Get feature usage information"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_nodes/usage",
          "methods": [
            "GET"
          ]
        },
        {
          "path": "/_nodes/{node_id}/usage",
          "methods": [
            "GET"
          ],
          "parts": {
            "node_id": {
              "type": "list",
              "description": "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"
            }
          }
        },
        {
          "path": "/_nodes/usage/{metric}",
          "methods": [
            "GET"
          ],
          "parts": {
            "metric": {
              "type": "list",
              "options": [
                "_all",
                "aggregations",
                "rest_actions"
              ],
              "description": "Limit the information returned to the specified metrics"
            }
          }
        },
        {
          "path": "/_nodes/{node_id}/usage/{metric}",
          "methods": [
            "GET"
          ],
          "parts": {
            "metric": {
              "type": "list",
              "options": [
                "_all",
                "aggregations",
                "rest_actions"
              ],
              "description": "Limit the information returned to the specified metrics"
            },
            "node_id": {
              "type": "list",
              "description": "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"
            }
          }
        }
      ]
    },
    "params": {
      "timeout": {
        "type": "time",
        "default": "30s",
        "description": "Explicit operation timeout"
      }
    }
  }
}
