Elastic · Schema
security.query_api_keys.ApiKeyQueryContainer
SearchAnalyticsObservabilitySecurityVisualizationCloudMonitoring
Properties
| Name | Type | Description |
|---|---|---|
| bool | object | Matches documents matching boolean combinations of other queries. |
| exists | object | Returns documents that contain an indexed value for a field. |
| ids | object | Returns documents based on their IDs. This query uses document IDs stored in the `_id` field. |
| match | object | Returns documents that match a provided text, number, date or boolean value. The provided text is analyzed before matching. |
| match_all | object | Matches all documents, giving them all a `_score` of 1.0. |
| prefix | object | Returns documents that contain a specific prefix in a provided field. |
| range | object | Returns documents that contain terms within a provided range. |
| simple_query_string | object | Returns documents based on a provided query string, using a parser with a limited but fault-tolerant syntax. |
| term | object | Returns documents that contain an exact term in a provided field. To return a document, the query term must exactly match the queried field's value, including whitespace and capitalization. |
| terms | object | Returns documents that contain one or more exact terms in a provided field. To return a document, one or more terms must exactly match a field value, including whitespace and capitalization. |
| wildcard | object | Returns documents that contain terms matching a wildcard pattern. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/elastic/json-schema/elastic-security-query-api-keys-api-key-query-container-schema.json",
"title": "security.query_api_keys.ApiKeyQueryContainer",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/elastic-security-api-openapi.yml#/components/schemas/security.query_api_keys.ApiKeyQueryContainer",
"type": "object",
"properties": {
"bool": {
"description": "Matches documents matching boolean combinations of other queries.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.BoolQuery"
}
]
},
"exists": {
"description": "Returns documents that contain an indexed value for a field.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.ExistsQuery"
}
]
},
"ids": {
"description": "Returns documents based on their IDs.\nThis query uses document IDs stored in the `_id` field.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.IdsQuery"
}
]
},
"match": {
"description": "Returns documents that match a provided text, number, date or boolean value.\nThe provided text is analyzed before matching.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_types.query_dsl.MatchQuery"
},
"minProperties": 1,
"maxProperties": 1
},
"match_all": {
"description": "Matches all documents, giving them all a `_score` of 1.0.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.MatchAllQuery"
}
]
},
"prefix": {
"description": "Returns documents that contain a specific prefix in a provided field.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_types.query_dsl.PrefixQuery"
},
"minProperties": 1,
"maxProperties": 1
},
"range": {
"description": "Returns documents that contain terms within a provided range.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_types.query_dsl.RangeQuery"
},
"minProperties": 1,
"maxProperties": 1
},
"simple_query_string": {
"description": "Returns documents based on a provided query string, using a parser with a limited but fault-tolerant syntax.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.SimpleQueryStringQuery"
}
]
},
"term": {
"description": "Returns documents that contain an exact term in a provided field.\nTo return a document, the query term must exactly match the queried field's value, including whitespace and capitalization.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_types.query_dsl.TermQuery"
},
"minProperties": 1,
"maxProperties": 1
},
"terms": {
"description": "Returns documents that contain one or more exact terms in a provided field.\nTo return a document, one or more terms must exactly match a field value, including whitespace and capitalization.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.TermsQuery"
}
]
},
"wildcard": {
"description": "Returns documents that contain terms matching a wildcard pattern.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_types.query_dsl.WildcardQuery"
},
"minProperties": 1,
"maxProperties": 1
}
},
"minProperties": 1,
"maxProperties": 1,
"$defs": {
"_global.search._types.BoundaryScanner": {
"type": "string",
"enum": [
"chars",
"sentence",
"word"
]
},
"_global.search._types.FieldCollapse": {
"type": "object",
"properties": {
"field": {
"description": "The field to collapse the result set on",
"allOf": [
{
"$ref": "#/$defs/_types.Field"
}
]
},
"inner_hits": {
"description": "The number of inner hits and their sort order",
"oneOf": [
{
"$ref": "#/$defs/_global.search._types.InnerHits"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/_global.search._types.InnerHits"
}
}
]
},
"max_concurrent_group_searches": {
"description": "The number of concurrent requests allowed to retrieve the inner_hits per group",
"type": "number"
},
"collapse": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.FieldCollapse"
}
]
}
},
"required": [
"field"
]
},
"_global.search._types.Highlight": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.HighlightBase"
},
{
"type": "object",
"properties": {
"encoder": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.HighlighterEncoder"
}
]
},
"fields": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_global.search._types.HighlightField"
},
"minProperties": 1,
"maxProperties": 1
},
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_global.search._types.HighlightField"
},
"minProperties": 1,
"maxProperties": 1
}
}
]
}
},
"required": [
"fields"
]
}
]
},
"_global.search._types.HighlightBase": {
"type": "object",
"properties": {
"type": {
"description": "\n\nSupported values include:\n - `plain`: The `plain` highlighter uses the standard Lucene highlighter\n - `fvh`: The fvh highlighter uses the Lucene Fast Vector highlighter.\n - `unified`: The unified highlighter uses the Lucene Unified Highlighter.\n\n",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.HighlighterType"
}
]
},
"boundary_chars": {
"description": "A string that contains each boundary character.",
"default": ".,!? \\t\\n",
"type": "string"
},
"boundary_max_scan": {
"description": "How far to scan for boundary characters.",
"default": 20.0,
"type": "number"
},
"boundary_scanner": {
"description": "Specifies how to break the highlighted fragments: chars, sentence, or word.\nOnly valid for the unified and fvh highlighters.\nDefaults to `sentence` for the `unified` highlighter. Defaults to `chars` for the `fvh` highlighter.\n\nSupported values include:\n - `chars`: Use the characters specified by `boundary_chars` as highlighting boundaries.\nThe `boundary_max_scan` setting controls how far to scan for boundary characters.\nOnly valid for the `fvh` highlighter.\n - `sentence`: Break highlighted fragments at the next sentence boundary, as determined by Java’s `BreakIterator`.\nYou can specify the locale to use with `boundary_scanner_locale`.\nWhen used with the `unified` highlighter, the `sentence` scanner splits sentences bigger than `fragment_size` at the first word boundary next to fragment_size.\nYou can set `fragment_size` to `0` to never split any sentence.\n - `word`: Break highlighted fragments at the next word boundary, as determined by Java’s `BreakIterator`.\nYou can specify the locale to use with `boundary_scanner_locale`.\n\n",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.BoundaryScanner"
}
]
},
"boundary_scanner_locale": {
"description": "Controls which locale is used to search for sentence and word boundaries.\nThis parameter takes a form of a language tag, for example: `\"en-US\"`, `\"fr-FR\"`, `\"ja-JP\"`.",
"default": "Locale.ROOT",
"type": "string"
},
"force_source": {
"deprecated": true,
"type": "boolean"
},
"fragmenter": {
"description": "Specifies how text should be broken up in highlight snippets: `simple` or `span`.\nOnly valid for the `plain` highlighter.",
"default": "span",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.HighlighterFragmenter"
}
]
},
"fragment_size": {
"description": "The size of the highlighted fragment in characters.",
"default": 100.0,
"type": "number"
},
"highlight_filter": {
"type": "boolean"
},
"highlight_query": {
"description": "Highlight matches for a query other than the search query.\nThis is especially useful if you use a rescore query because those are not taken into account by highlighting by default.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.QueryContainer"
}
]
},
"max_fragment_length": {
"type": "number"
},
"max_analyzed_offset": {
"description": "If set to a non-negative value, highlighting stops at this defined maximum limit.\nThe rest of the text is not processed, thus not highlighted and no error is returned\nThe `max_analyzed_offset` query setting does not override the `index.highlight.max_analyzed_offset` setting, which prevails when it’s set to lower value than the query setting.",
"type": "number"
},
"no_match_size": {
"description": "The amount of text you want to return from the beginning of the field if there are no matching fragments to highlight.",
"default": 0.0,
"type": "number"
},
"number_of_fragments": {
"description": "The maximum number of fragments to return.\nIf the number of fragments is set to `0`, no fragments are returned.\nInstead, the entire field contents are highlighted and returned.\nThis can be handy when you need to highlight short texts such as a title or address, but fragmentation is not required.\nIf `number_of_fragments` is `0`, `fragment_size` is ignored.",
"default": 5.0,
"type": "number"
},
"options": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"order": {
"description": "Sorts highlighted fragments by score when set to `score`.\nBy default, fragments will be output in the order they appear in the field (order: `none`).\nSetting this option to `score` will output the most relevant fragments first.\nEach highlighter applies its own logic to compute relevancy scores.",
"default": "none",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.HighlighterOrder"
}
]
},
"phrase_limit": {
"description": "Controls the number of matching phrases in a document that are considered.\nPrevents the `fvh` highlighter from analyzing too many phrases and consuming too much memory.\nWhen using `matched_fields`, `phrase_limit` phrases per matched field are considered. Raising the limit increases query time and consumes more memory.\nOnly supported by the `fvh` highlighter.",
"default": 256.0,
"type": "number"
},
"post_tags": {
"description": "Use in conjunction with `pre_tags` to define the HTML tags to use for the highlighted text.\nBy default, highlighted text is wrapped in `<em>` and `</em>` tags.",
"type": "array",
"items": {
"type": "string"
}
},
"pre_tags": {
"description": "Use in conjunction with `post_tags` to define the HTML tags to use for the highlighted text.\nBy default, highlighted text is wrapped in `<em>` and `</em>` tags.",
"type": "array",
"items": {
"type": "string"
}
},
"require_field_match": {
"description": "By default, only fields that contains a query match are highlighted.\nSet to `false` to highlight all fields.",
"default": true,
"type": "boolean"
},
"tags_schema": {
"description": "Set to `styled` to use the built-in tag schema.",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.HighlighterTagsSchema"
}
]
}
}
},
"_global.search._types.HighlightField": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.HighlightBase"
},
{
"type": "object",
"properties": {
"fragment_offset": {
"type": "number"
},
"matched_fields": {
"allOf": [
{
"$ref": "#/$defs/_types.Fields"
}
]
}
}
}
]
},
"_global.search._types.HighlighterEncoder": {
"type": "string",
"enum": [
"default",
"html"
]
},
"_global.search._types.HighlighterFragmenter": {
"type": "string",
"enum": [
"simple",
"span"
]
},
"_global.search._types.HighlighterOrder": {
"type": "string",
"enum": [
"score"
]
},
"_global.search._types.HighlighterTagsSchema": {
"type": "string",
"enum": [
"styled"
]
},
"_global.search._types.HighlighterType": {
"anyOf": [
{
"type": "string",
"enum": [
"plain",
"fvh",
"unified"
]
},
{
"type": "string"
}
]
},
"_global.search._types.InnerHits": {
"type": "object",
"properties": {
"name": {
"description": "The name for the particular inner hit definition in the response.\nUseful when a search request contains multiple inner hits.",
"allOf": [
{
"$ref": "#/$defs/_types.Name"
}
]
},
"size": {
"description": "The maximum number of hits to return per `inner_hits`.",
"default": 3.0,
"type": "number"
},
"from": {
"description": "Inner hit starting document offset.",
"default": 0.0,
"type": "number"
},
"collapse": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.FieldCollapse"
}
]
},
"docvalue_fields": {
"type": "array",
"items": {
"$ref": "#/$defs/_types.query_dsl.FieldAndFormat"
}
},
"explain": {
"type": "boolean"
},
"highlight": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.Highlight"
}
]
},
"ignore_unmapped": {
"type": "boolean"
},
"script_fields": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_types.ScriptField"
}
},
"seq_no_primary_term": {
"type": "boolean"
},
"fields": {
"type": "array",
"items": {
"$ref": "#/$defs/_types.Field"
}
},
"sort": {
"description": "How the inner hits should be sorted per `inner_hits`.\nBy default, inner hits are sorted by score.",
"allOf": [
{
"$ref": "#/$defs/_types.Sort"
}
]
},
"_source": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.SourceConfig"
}
]
},
"stored_fields": {
"allOf": [
{
"$ref": "#/$defs/_types.Fields"
}
]
},
"track_scores": {
"default": false,
"type": "boolean"
},
"version": {
"type": "boolean"
}
}
},
"_global.search._types.LearningToRank": {
"type": "object",
"properties": {
"model_id": {
"description": "The unique identifier of the trained model uploaded to Elasticsearch",
"type": "string"
},
"params": {
"description": "Named parameters to be passed to the query templates used for feature",
"type": "object",
"additionalProperties": {
"type": "object"
}
}
},
"required": [
"model_id"
]
},
"_global.search._types.PointInTimeReference": {
"type": "object",
"properties": {
"id": {
"allOf": [
{
"$ref": "#/$defs/_types.Id"
}
]
},
"keep_alive": {
"allOf": [
{
"$ref": "#/$defs/_types.Duration"
}
]
}
},
"required": [
"id"
]
},
"_global.search._types.Rescore": {
"allOf": [
{
"type": "object",
"properties": {
"window_size": {
"type": "number"
}
}
},
{
"type": "object",
"properties": {
"query": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.RescoreQuery"
}
]
},
"learning_to_rank": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.LearningToRank"
}
]
},
"script": {
"allOf": [
{
"$ref": "#/$defs/_global.search._types.ScriptRescore"
}
]
}
},
"minProperties": 1,
"maxProperties": 1
}
]
},
"_global.search._types.RescoreQuery": {
"type": "object",
"properties": {
"rescore_query": {
"description": "The query to use for rescoring.\nThis query is only run on the Top-K results returned by the `query` and `post_filter` phases.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.QueryContainer"
}
]
},
"query_weight": {
"description": "Relative importance of the original query versus the rescore query.",
"default": 1.0,
"type": "number"
},
"rescore_query_weight": {
"description": "Relative importance of the rescore query versus the original query.",
"default": 1.0,
"type": "number"
},
"score_mode": {
"description": "Determines how scores are combined.\n\nSupported values include:\n - `avg`: Average the original score and the rescore query score.\n - `max`: Take the max of original score and the rescore query score.\n - `min`: Take the min of the original score and the rescore query score.\n - `multiply`: Multiply the original score by the rescore query score.\nUseful for `function` query rescores.\n - `total`: Add the original score and the rescore query score.\n\n",
"default": "total",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.ScoreMode"
}
]
}
},
"required": [
"rescore_query"
]
},
"_global.search._types.ScoreMode": {
"type": "string",
"enum": [
"avg",
"max",
"min",
"multiply",
"total"
]
},
"_global.search._types.ScriptRescore": {
"type": "object",
"properties": {
"script": {
"allOf": [
{
"$ref": "#/$defs/_types.Script"
}
]
}
},
"required": [
"script"
]
},
"_global.search._types.SearchRequestBody": {
"type": "object",
"properties": {
"aggregations": {
"description": "Defines the aggregations that are run as part of the search request.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_types.aggregations.AggregationContainer"
}
},
"collapse": {
"description": "Collapses search results the values of the specified field.",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.FieldCollapse"
}
]
},
"explain": {
"description": "If `true`, the request returns detailed information about score computation as part of a hit.",
"default": false,
"type": "boolean"
},
"ext": {
"description": "Configuration of search extensions defined by Elasticsearch plugins.",
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"from": {
"description": "The starting document offset, which must be non-negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` parameter.",
"default": 0.0,
"type": "number"
},
"highlight": {
"description": "Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results.",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.Highlight"
}
]
},
"track_total_hits": {
"description": "Number of hits matching the query to count accurately.\nIf `true`, the exact number of hits is returned at the cost of some performance.\nIf `false`, the response does not include the total number of hits matching the query.",
"default": "10000",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.TrackHits"
}
]
},
"indices_boost": {
"description": "Boost the `_score` of documents from specified indices.\nThe boost value is the factor by which scores are multiplied.\nA boost value greater than `1.0` increases the score.\nA boost value between `0` and `1.0` decreases the score.",
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "number"
},
"minProperties": 1,
"maxProperties": 1
}
},
"docvalue_fields": {
"description": "An array of wildcard (`*`) field patterns.\nThe request returns doc values for field names matching these patterns in the `hits.fields` property of the response.",
"type": "array",
"items": {
"$ref": "#/$defs/_types.query_dsl.FieldAndFormat"
}
},
"knn": {
"description": "The approximate kNN search to run.",
"x-state": "Generally available; Added in 8.4.0",
"oneOf": [
{
"$ref": "#/$defs/_types.KnnSearch"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/_types.KnnSearch"
}
}
]
},
"rank": {
"description": "The Reciprocal Rank Fusion (RRF) to use.",
"x-state": "Generally available; Added in 8.8.0",
"allOf": [
{
"$ref": "#/$defs/_types.RankContainer"
}
]
},
"min_score": {
"description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results or results collected by aggregations.",
"type": "number"
},
"post_filter": {
"description": "Use the `post_filter` parameter to filter search results.\nThe search hits are filtered after the aggregations are calculated.\nA post filter has no impact on the aggregation results.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.QueryContainer"
}
]
},
"profile": {
"description": "Set to `true` to return detailed timing information about the execution of individual components in a search request.\nNOTE: This is a debugging tool and adds significant overhead to search execution.",
"default": false,
"type": "boolean"
},
"query": {
"description": "The search definition using the Query DSL.",
"allOf": [
{
"$ref": "#/$defs/_types.query_dsl.QueryContainer"
}
]
},
"rescore": {
"description": "Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the `query` and `post_filter` phases.",
"oneOf": [
{
"$ref": "#/$defs/_global.search._types.Rescore"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/_global.search._types.Rescore"
}
}
]
},
"retriever": {
"description": "A retriever is a specification to describe top documents returned from a search.\nA retriever replaces other elements of the search API that also return top documents such as `query` and `knn`.",
"x-state": "Generally available; Added in 8.14.0",
"allOf": [
{
"$ref": "#/$defs/_types.RetrieverContainer"
}
]
},
"script_fields": {
"description": "Retrieve a script evaluation (based on different fields) for each hit.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/_types.ScriptField"
}
},
"search_after": {
"description": "Used to retrieve the next page of hits using a set of sort values from the previous page.",
"allOf": [
{
"$ref": "#/$defs/_types.SortResults"
}
]
},
"size": {
"description": "The number of hits to return, which must not be negative.\nBy default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.\nTo page through more hits, use the `search_after` property.",
"default": 10.0,
"type": "number"
},
"slice": {
"description": "Split a scrolled search into multiple slices that can be consumed independently.",
"allOf": [
{
"$ref": "#/$defs/_types.SlicedScroll"
}
]
},
"sort": {
"description": "A comma-separated list of <field>:<direction> pairs.",
"allOf": [
{
"$ref": "#/$defs/_types.Sort"
}
]
},
"_source": {
"description": "The source fields that are returned for matching documents.\nThese fields are returned in the `hits._source` property of the search response.\nIf the `stored_fields` property is specified, the `_source` property defaults to `false`.\nOtherwise, it defaults to `true`.",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.SourceConfig"
}
]
},
"fields": {
"description": "An array of wildcard (`*`) field patterns.\nThe request returns values for field names matching these patterns in the `hits.fields` property of the response.",
"type": "array",
"items": {
"$ref": "#/$defs/_types.query_dsl.FieldAndFormat"
}
},
"suggest": {
"description": "Defines a suggester that provides similar looking terms based on a provided text.",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.Suggester"
}
]
},
"terminate_after": {
"description": "The maximum number of documents to collect for each shard.\nIf a query reaches this limit, Elasticsearch terminates the query early.\nElasticsearch collects documents before sorting.\n\nIMPORTANT: Use with caution.\nElasticsearch applies this property to each shard handling the request.\nWhen possible, let Elasticsearch perform early termination automatically.\nAvoid specifying this property for requests that target data streams with backing indices across multiple data tiers.\n\nIf set to `0` (default), the query does not terminate early.",
"default": 0.0,
"type": "number"
},
"timeout": {
"description": "The period of time to wait for a response from each shard.\nIf no response is received before the timeout expires, the request fails and returns an error.\nDefaults to no timeout.",
"type": "string"
},
"track_scores": {
"description": "If `true`, calculate and return document scores, even if the scores are not used for sorting.",
"default": false,
"type": "boolean"
},
"version": {
"description": "If `true`, the request returns the document version as part of a hit.",
"default": false,
"type": "boolean"
},
"seq_no_primary_term": {
"description": "If `true`, the request returns sequence number and primary term of the last modification of each hit.",
"type": "boolean"
},
"stored_fields": {
"description": "A comma-separated list of stored fields to return as part of a hit.\nIf no fields are specified, no stored fields are included in the response.\nIf this field is specified, the `_source` property defaults to `false`.\nYou can pass `_source: true` to return both source fields and stored fields in the search response.",
"allOf": [
{
"$ref": "#/$defs/_types.Fields"
}
]
},
"pit": {
"description": "Limit the search to a point in time (PIT).\nIf you provide a PIT, you cannot specify an `<index>` in the request path.",
"allOf": [
{
"$ref": "#/$defs/_global.search._types.PointInTimeReference"
}
]
},
"runtime_mappings": {
"description": "One or more runtime fields in the search request.\nThese fields take precedence over mapped fields with the same name.",
"allOf": [
{
"$ref": "#/$defs/_types.mapping.RuntimeFields"
}
]
},
"stats": {
"description": "The stats groups to associate with the search.\nEach group maintains a statistics aggregation for its associated searches.\nYou can retrieve these stats using the indices stats API.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"_global.search._types.SourceConfig": {
"description": "Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "#/$defs/_global.search._types.SourceFilter"
}
]
},
"_global.search._types.SourceFilter": {
"type": "object",
"properties": {
"exclude_vectors": {
"description": "If `true`, vector fields are excluded from the returned source.\n\nThis option takes precedence over `includes`: any vector field will\nremain excluded even if it matches an `includes` rule.",
"type": "boolean"
},
"excludes": {
"description": "A list of fields to
# --- truncated at 32 KB (394 KB total) ---
# Full source: https://artifacts.apis.io/elastic/json-schema/elastic-security-query-api-keys-api-key-query-container-schema.json
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/elastic-security-query-api-keys-api-key-query-container"
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.