Elastic · Schema

_global.field_caps.FieldCapability

SearchAnalyticsObservabilitySecurityVisualizationCloudMonitoring

Properties

Name Type Description
aggregatable boolean Whether this field can be aggregated on all indices.
indices object The list of indices where this field has the same type family, or null if all indices have the same type family for the field.
meta object Merged metadata across all indices as a map of string keys to arrays of values. A value length of 1 indicates that all indices had the same value for this key, while a length of 2 or more indicates th
non_aggregatable_indices object The list of indices where this field is not aggregatable, or null if all indices have the same definition for the field.
non_searchable_indices object The list of indices where this field is not searchable, or null if all indices have the same definition for the field.
searchable boolean Whether this field is indexed for search on all indices.
type string
metadata_field boolean Whether this field is registered as a metadata field.
time_series_dimension boolean Whether this field is used as a time series dimension.
time_series_metric object Contains metric type if this fields is used as a time series metrics, absent if the field is not used as metric.
non_dimension_indices array If this list is present in response then some indices have the field marked as a dimension and other indices, the ones in this list, do not.
metric_conflicts_indices array The list of indices where this field is present if these indices don’t have the same `time_series_metric` value for this field.
View JSON Schema on GitHub

JSON Schema

elastic-global-field-caps-field-capability-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elastic/json-schema/elastic-global-field-caps-field-capability-schema.json",
  "title": "_global.field_caps.FieldCapability",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elastic-search-api-openapi.yml#/components/schemas/_global.field_caps.FieldCapability",
  "type": "object",
  "properties": {
    "aggregatable": {
      "description": "Whether this field can be aggregated on all indices.",
      "type": "boolean"
    },
    "indices": {
      "description": "The list of indices where this field has the same type family, or null if all indices have the same type family for the field.",
      "allOf": [
        {
          "$ref": "#/$defs/_types.Indices"
        }
      ]
    },
    "meta": {
      "description": "Merged metadata across all indices as a map of string keys to arrays of values. A value length of 1 indicates that all indices had the same value for this key, while a length of 2 or more indicates that not all indices had the same value for this key.",
      "allOf": [
        {
          "$ref": "#/$defs/_types.Metadata"
        }
      ]
    },
    "non_aggregatable_indices": {
      "description": "The list of indices where this field is not aggregatable, or null if all indices have the same definition for the field.",
      "allOf": [
        {
          "$ref": "#/$defs/_types.Indices"
        }
      ]
    },
    "non_searchable_indices": {
      "description": "The list of indices where this field is not searchable, or null if all indices have the same definition for the field.",
      "allOf": [
        {
          "$ref": "#/$defs/_types.Indices"
        }
      ]
    },
    "searchable": {
      "description": "Whether this field is indexed for search on all indices.",
      "type": "boolean"
    },
    "type": {
      "type": "string"
    },
    "metadata_field": {
      "description": "Whether this field is registered as a metadata field.",
      "type": "boolean"
    },
    "time_series_dimension": {
      "description": "Whether this field is used as a time series dimension.",
      "x-state": "Technical preview; Added in 8.0.0",
      "type": "boolean"
    },
    "time_series_metric": {
      "description": "Contains metric type if this fields is used as a time series\nmetrics, absent if the field is not used as metric.",
      "x-state": "Technical preview; Added in 8.0.0",
      "allOf": [
        {
          "$ref": "#/$defs/_types.mapping.TimeSeriesMetricType"
        }
      ]
    },
    "non_dimension_indices": {
      "description": "If this list is present in response then some indices have the\nfield marked as a dimension and other indices, the ones in this list, do not.",
      "x-state": "Technical preview; Added in 8.0.0",
      "type": "array",
      "items": {
        "$ref": "#/$defs/_types.IndexName"
      }
    },
    "metric_conflicts_indices": {
      "description": "The list of indices where this field is present if these indices\ndon’t have the same `time_series_metric` value for this field.",
      "x-state": "Technical preview; Added in 8.0.0",
      "type": "array",
      "items": {
        "$ref": "#/$defs/_types.IndexName"
      }
    }
  },
  "required": [
    "aggregatable",
    "searchable",
    "type"
  ],
  "$defs": {
    "_types.IndexName": {
      "type": "string"
    },
    "_types.Indices": {
      "oneOf": [
        {
          "$ref": "#/$defs/_types.IndexName"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/_types.IndexName"
          }
        }
      ]
    },
    "_types.Metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "_types.mapping.TimeSeriesMetricType": {
      "type": "string",
      "enum": [
        "gauge",
        "counter",
        "summary",
        "histogram",
        "position"
      ]
    }
  }
}

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-global-field-caps-field-capability"
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.