Elastic · Schema

cluster.allocation_explain.NodeAllocationExplanation

SearchAnalyticsObservabilitySecurityVisualizationCloudMonitoring

Properties

Name Type Description
deciders array
node_attributes object
node_decision object
node_id object
node_name object
roles object
store object
transport_address object
weight_ranking number
View JSON Schema on GitHub

JSON Schema

elastic-cluster-allocation-explain-node-allocation-explanation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elastic/json-schema/elastic-cluster-allocation-explain-node-allocation-explanation-schema.json",
  "title": "cluster.allocation_explain.NodeAllocationExplanation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elastic-cluster-api-openapi.yml#/components/schemas/cluster.allocation_explain.NodeAllocationExplanation",
  "type": "object",
  "properties": {
    "deciders": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/cluster.allocation_explain.AllocationDecision"
      }
    },
    "node_attributes": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "node_decision": {
      "allOf": [
        {
          "$ref": "#/$defs/cluster.allocation_explain.Decision"
        }
      ]
    },
    "node_id": {
      "allOf": [
        {
          "$ref": "#/$defs/_types.Id"
        }
      ]
    },
    "node_name": {
      "allOf": [
        {
          "$ref": "#/$defs/_types.Name"
        }
      ]
    },
    "roles": {
      "x-state": "Generally available; Added in 8.11.0",
      "allOf": [
        {
          "$ref": "#/$defs/_types.NodeRoles"
        }
      ]
    },
    "store": {
      "allOf": [
        {
          "$ref": "#/$defs/cluster.allocation_explain.AllocationStore"
        }
      ]
    },
    "transport_address": {
      "allOf": [
        {
          "$ref": "#/$defs/_types.TransportAddress"
        }
      ]
    },
    "weight_ranking": {
      "type": "number"
    }
  },
  "required": [
    "node_attributes",
    "node_decision",
    "node_id",
    "node_name",
    "roles",
    "transport_address"
  ],
  "$defs": {
    "_types.Id": {
      "type": "string"
    },
    "_types.Name": {
      "type": "string"
    },
    "_types.NodeRole": {
      "type": "string",
      "enum": [
        "master",
        "data",
        "data_cold",
        "data_content",
        "data_frozen",
        "data_hot",
        "data_warm",
        "client",
        "ingest",
        "ml",
        "voting_only",
        "transform",
        "remote_cluster_client",
        "coordinating_only"
      ]
    },
    "_types.NodeRoles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/_types.NodeRole"
      }
    },
    "_types.TransportAddress": {
      "type": "string"
    },
    "cluster.allocation_explain.AllocationDecision": {
      "type": "object",
      "properties": {
        "decider": {
          "type": "string"
        },
        "decision": {
          "allOf": [
            {
              "$ref": "#/$defs/cluster.allocation_explain.AllocationExplainDecision"
            }
          ]
        },
        "explanation": {
          "type": "string"
        }
      },
      "required": [
        "decider",
        "decision",
        "explanation"
      ]
    },
    "cluster.allocation_explain.AllocationExplainDecision": {
      "type": "string",
      "enum": [
        "NO",
        "YES",
        "THROTTLE",
        "ALWAYS"
      ]
    },
    "cluster.allocation_explain.AllocationStore": {
      "type": "object",
      "properties": {
        "allocation_id": {
          "type": "string"
        },
        "found": {
          "type": "boolean"
        },
        "in_sync": {
          "type": "boolean"
        },
        "matching_size_in_bytes": {
          "type": "number"
        },
        "matching_sync_id": {
          "type": "boolean"
        },
        "store_exception": {
          "type": "string"
        }
      },
      "required": [
        "allocation_id",
        "found",
        "in_sync",
        "matching_size_in_bytes",
        "matching_sync_id",
        "store_exception"
      ]
    },
    "cluster.allocation_explain.Decision": {
      "type": "string",
      "enum": [
        "yes",
        "no",
        "worse_balance",
        "throttled",
        "awaiting_info",
        "allocation_delayed",
        "no_valid_shard_copy",
        "no_attempt"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/elastic-cluster-allocation-explain-node-allocation-explanation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.